From 878a94f9cbe565c3e99731b2a446734a3ea6f0b8 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 1 Nov 2022 20:34:58 -0400 Subject: [PATCH] Add a rust-toolchain.toml file (#538) --- .github/workflows/ci.yaml | 1 - README.md | 2 +- rust-toolchain.toml | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2533643168..7e5b2b2297 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,6 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.63.0 - uses: actions/cache@v3 env: cache-name: cache-cargo diff --git a/README.md b/README.md index 96924dbc8c..7f6408a5da 100644 --- a/README.md +++ b/README.md @@ -640,7 +640,7 @@ extend-ignore = [ ## Development -Ruff is written in Rust (1.63.0). You'll need to install the [Rust toolchain](https://www.rust-lang.org/tools/install) +Ruff is written in Rust (1.64.0). You'll need to install the [Rust toolchain](https://www.rust-lang.org/tools/install) for development. Assuming you have `cargo` installed, you can run: diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000000..10add70bbe --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.64.0"