This is an automated email from the ASF dual-hosted git repository.

tisonkun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new caa60a1  build: drop the rust-toolchain.toml pin (#272)
caa60a1 is described below

commit caa60a187c0f888aabcef6d356c80787a113a7b2
Author: tison <[email protected]>
AuthorDate: Thu Sep 3 16:01:29 2026 +0800

    build: drop the rust-toolchain.toml pin (#272)
---
 .github/workflows/ci.yml |  4 ----
 CONTRIBUTING.md          |  7 ++++---
 rust-toolchain.toml      | 20 --------------------
 3 files changed, 4 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ebd0d47..a83d451 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,8 +42,6 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v7
-      - name: Delete rust-toolchain.toml
-        run: rm rust-toolchain.toml
       - name: Install toolchain
         run: rustup toolchain install --component rustfmt,clippy nightly
       - uses: Swatinem/rust-cache@v2
@@ -80,8 +78,6 @@ jobs:
     runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v7
-      - name: Delete rust-toolchain.toml
-        run: rm rust-toolchain.toml
       - name: Install toolchain
         run: |
           rustup toolchain install ${{ matrix.rust-version }}
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4ef490b..889d68a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -23,11 +23,12 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | 
sh
 
 For Windows users, download `rustup-init.exe` from 
[here](https://win.rustup.rs/x86_64) instead.
 
-Rustup will read the `rust-toolchain.toml` file and set up everything else 
automatically. To ensure that everything works correctly, run `cargo version` 
under the root directory:
+This project declares its minimum supported Rust version (MSRV) with 
`rust-version` in the workspace `Cargo.toml`; CI verifies it explicitly. Any 
toolchain at or above the MSRV works for building and testing.
+
+The lint and check commands additionally require a nightly toolchain:
 
 ```shell
-cargo version
-# cargo 1.86.0 (<hash> <date>)
+rustup toolchain install --component rustfmt,clippy nightly
 ```
 
 To keep code style consistent, run `cargo x lint --fix` to automatically fix 
any style issues before committing your changes.
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
deleted file mode 100644
index 7df2ea3..0000000
--- a/rust-toolchain.toml
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-[toolchain]
-channel = "1.86.0"
-components = ["rustfmt", "clippy", "rust-analyzer"]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to