From ed576325760d142656c97f4b0525a74c75b8e559 Mon Sep 17 00:00:00 2001 From: kingchenc Date: Sat, 23 May 2026 21:36:56 +0200 Subject: [PATCH] build: lift workspace MSRV to 1.86 to satisfy criterion 0.8.2 criterion 0.8.2 raised its MSRV from 1.85 to 1.86 (rustc 1.85.1 is now explicitly rejected by its Cargo.toml `rust-version`). One more notch on the same upward drift that already took us from 1.75 -> 1.80 (rayon) -> 1.85 (clap_lex/edition2024). Updated: - Cargo.toml workspace rust-version 1.85 -> 1.86 - .github/workflows/ci.yml MSRV matrix name + toolchain - ci.yml comment refreshed to reflect the new driving dep --- .github/workflows/ci.yml | 16 ++++++++-------- Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eba69bb1..881bb63d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,12 +56,12 @@ jobs: run: cargo build -p wickra-examples --bins # Verify the crates still build and test on their declared minimum supported - # Rust version. The workspace pins rust-version = "1.85" — that floor is - # set by clap_lex 1.1.0 (transitively pulled in by the criterion dev-dep) - # which needs the stabilized edition2024 feature (stable since Rust 1.85); - # rayon-core 1.13.0 only needed 1.80 and is subsumed by the 1.85 floor. - # bindings/node pins rust-version = "1.88" because napi-build 2.3.2 - # requires it (and that subsumes the older 1.77 floor needed for + # Rust version. The workspace pins rust-version = "1.86" — that floor is + # set by criterion 0.8.2 (the bench dev-dep), which itself rolled past the + # clap_lex 1.1.0 / edition2024 / Rust 1.85 floor and now needs 1.86; the + # earlier rayon-core 1.13.0 (1.80) and clap_lex (1.85) requirements are + # subsumed. bindings/node pins rust-version = "1.88" because napi-build + # 2.3.2 requires it (and that subsumes the older 1.77 floor needed for # `cargo::` directives). Without this job an accidental use of a newer # API would only surface for downstream users. msrv: @@ -71,8 +71,8 @@ jobs: fail-fast: false matrix: include: - - name: MSRV workspace (Rust 1.85) - toolchain: "1.85" + - name: MSRV workspace (Rust 1.86) + toolchain: "1.86" packages: "-p wickra-core -p wickra -p wickra-data" - name: MSRV node binding (Rust 1.88) toolchain: "1.88" diff --git a/Cargo.toml b/Cargo.toml index 543eb98b..8318cdae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ exclude = ["fuzz"] version = "0.2.0" authors = ["kingchenc "] edition = "2021" -rust-version = "1.85" +rust-version = "1.86" license = "PolyForm-Noncommercial-1.0.0" repository = "https://github.com/kingchenc/wickra" homepage = "https://github.com/kingchenc/wickra"