From ebd89423e9c0ce46901fc3c2e8985cbcf9cb3289 Mon Sep 17 00:00:00 2001 From: Ulyssa Date: Thu, 15 May 2025 18:11:34 -0700 Subject: [PATCH] Bump minimum supported Rust version to 1.83 (#420) --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- rust-toolchain.toml | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2324af6..bafe274 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,8 +22,8 @@ jobs: uses: actions/checkout@v3 with: submodules: true - - name: Install Rust (1.76 w/ clippy) - uses: dtolnay/rust-toolchain@1.76 + - name: Install Rust (1.83 w/ clippy) + uses: dtolnay/rust-toolchain@1.83 with: components: clippy - name: Install Rust (nightly w/ rustfmt) diff --git a/Cargo.toml b/Cargo.toml index 6e394d4..422334f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" exclude = [".github", "CONTRIBUTING.md"] keywords = ["matrix", "chat", "tui", "vim"] categories = ["command-line-utilities"] -rust-version = "1.82" +rust-version = "1.83" build = "build.rs" [features] diff --git a/README.md b/README.md index 68d2fda..ecd68f8 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ user_id = "@user:example.com" ## Installation (via `crates.io`) -Install Rust (1.76.0 or above) and Cargo, and then run: +Install Rust (1.83.0 or above) and Cargo, and then run: ``` cargo install --locked iamb diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..d2c98e1 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.83" +components = [ "clippy" ]