From d7d5a66bfd62b94249a7f3f19e04eea34e47d545 Mon Sep 17 00:00:00 2001 From: Philip Craig Date: Fri, 21 Nov 2025 20:39:49 +1000 Subject: [PATCH] Increase minimum rust version with all features enabled Indexmap needs rust 1.82.0, ruzstd needs 1.87.0. --- .github/workflows/rust.yml | 2 +- README.md | 4 ++-- xtask/src/main.rs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a531d78..656ef67 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,7 +57,7 @@ jobs: with: submodules: true - uses: dtolnay/rust-toolchain@1.65.0 - - uses: dtolnay/rust-toolchain@1.76.0 + - uses: dtolnay/rust-toolchain@1.87.0 - run: cargo xtask msrv rustfmt: diff --git a/README.md b/README.md index beef0ac..7d988fa 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ See [`crates/examples`](crates/examples) for more examples. ## Minimum Supported Rust Version (MSRV) -Changes to MSRV are considered breaking changes. We are conservative about changing the MSRV, -but sometimes are required to due to dependencies. The MSRV with all features enabled is 1.81.0. +Changes to MSRV are not considered changes. We are conservative about changing the MSRV, +but sometimes are required to due to dependencies. The MSRV with all features enabled is 1.87.0. The MSRV with some features disabled is 1.65.0. ## License diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 46d005f..4b9526b 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -187,15 +187,15 @@ fn cmd_cross() -> Result<(), DynError> { fn cmd_msrv() -> Result<(), DynError> { cmd_with( "cargo", - &["+1.65.0", "test", "-p", "object", "--no-default-features", "--features", "read,write,build,std"], + &["+1.65.0", "test", "-p", "object", "--no-default-features", "--features", "read,std"], |cmd| { cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true"); }, )?; - // wasmparser needs 1.76.0 and ruzstd needs 1.81 + // wasmparser needs 1.76.0, ruzstd needs 1.87.0, indexmap needs 1.82.0 cmd_with( "cargo", - &["+1.81.0", "test", "-p", "object", "--features", "all"], + &["+1.87.0", "test", "-p", "object", "--features", "all"], |cmd| { cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true"); },