From 3132dd512f1a9ec20e11f1b03d045549a02ec5f7 Mon Sep 17 00:00:00 2001 From: Prince Jain Date: Wed, 21 Oct 2026 15:30:08 +0530 Subject: [PATCH] ci: run nightly minimal-versions check and raise serde floor (#851) Check the active rustc toolchain version in ci/test-stable.sh instead of the unset RUST_VERSION environment variable so the benchmark and minimal-versions checks run on the nightly CI job, and raise the minimum serde version from 1.0.60 to 1.0.70 where the alloc feature compiles cleanly. --- Cargo.toml | 2 +- ci/test-stable.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3fe858369..15564def5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ default = ["std"] std = [] [dependencies] -serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] } +serde = { version = "1.0.70", optional = true, default-features = false, features = ["alloc"] } # Use portable-atomic crate to support platforms without atomic CAS. # See "no_std support" section in readme for more information. # diff --git a/ci/test-stable.sh b/ci/test-stable.sh index ad9757449..bc95d0c1d 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -11,7 +11,7 @@ cargo hack "${cmd}" --each-feature --optional-deps # Run with all features cargo "${cmd}" --all-features -if [[ "${RUST_VERSION}" == "nightly"* ]]; then +if [[ "$(rustc --version)" == *"nightly"* ]]; then # Check benchmarks cargo check --benches