Repository navigation
fix!: require Rust 1.88 or later - #123
Merged
Merged
Conversation
rust-version was raised to 1.93.1 because the serial_test 4 dev-dependency needs it, but dev-dependencies don't affect users of the crate. The library itself needs Rust 1.88, for the let chain in receive.rs, and builds on 1.88 with the dependency versions that Cargo's MSRV-aware resolver picks for it. A new msrv CI job builds the library with the rust-version from Cargo.toml, with Cargo.lock resolved for that Rust version, so it can't silently creep up again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KzaQVQTXVcK2vjorEPSjrx
stewartadam
force-pushed
the
fix/msrv-1.88
branch
from
November 26, 2026 09:50
439d747 to
0dc2464
Compare
stewartadam
enabled auto-merge (squash)
November 26, 2026 09:51
stewartadam
disabled auto-merge
November 26, 2026 09:53
stewartadam
disabled auto-merge
November 26, 2026 09:53
stewartadam
enabled auto-merge (squash)
November 26, 2026 09:53
This was referenced Nov 26, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Marked breaking (
!) because 0.11.1 built on any Rust with edition 2024 (1.85+), while the let chain added since then needs 1.88. That makes release-plz bump the next release to 0.12.0, with this as a [breaking] changelog entry.rust-versionwas raised from 1.88 to 1.93.1 in #74, but only theserial_test4 dev-dependency needs 1.93.1, and dev-dependencies don't affect users of the crate. The library's real floor is Rust 1.88, for the let chain atsrc/receive.rs:1139.Changes
Cargo.toml:rust-version1.93.1 → 1.88.Cargo.lockis unchanged, and development and CI still use the toolchain pinned inrust-toolchain.toml.rust.yml: a newmsrvjob, added toall-checks. It readsrust-versionfromCargo.toml, installs that toolchain, resolves a fresh lockfile with the MSRV-aware resolver (CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback), and runscargo check --libwith default features and with--no-default-features --features std. Only the library is checked, because the tests' dev-dependencies need a newer Rust.README.mdandCONTRIBUTING.mdnow say 1.88.Testing
cargo +1.88 check --libpasses locally with default features and with--no-default-features --features std. The resolver picks uuid 1.26.1, since 1.29 needs Rust 1.89, anduuid = "1.12"allows that.No new
uses:lines, soactions.lockis unchanged. Rebased onto #122, so the new job usesactions/checkoutv7.0.1, which is already locked.Generated by Claude Code