Skip to content

fix!: require Rust 1.88 or later - #123

Merged
stewartadam merged 1 commit into
mainfrom
fix/msrv-1.88
Nov 26, 2026
Merged

stewartadam merged 1 commit into
mainfrom
fix/msrv-1.88

Conversation

@stewartadam

@stewartadam stewartadam commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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-version was raised from 1.88 to 1.93.1 in #74, but only the serial_test 4 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 at src/receive.rs:1139.

Changes

  • Cargo.toml: rust-version 1.93.1 → 1.88. Cargo.lock is unchanged, and development and CI still use the toolchain pinned in rust-toolchain.toml.
  • rust.yml: a new msrv job, added to all-checks. It reads rust-version from Cargo.toml, installs that toolchain, resolves a fresh lockfile with the MSRV-aware resolver (CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback), and runs cargo check --lib with default features and with --no-default-features --features std. Only the library is checked, because the tests' dev-dependencies need a newer Rust.
  • README.md and CONTRIBUTING.md now say 1.88.

Testing

  • cargo +1.88 check --lib passes 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, and uuid = "1.12" allows that.
  • actionlint, zizmor (offline) and rumdl pass.

No new uses: lines, so actions.lock is unchanged. Rebased onto #122, so the new job uses actions/checkout v7.0.1, which is already locked.


Generated by Claude Code

@stewartadam stewartadam self-assigned this Nov 26, 2026
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
stewartadam enabled auto-merge (squash) November 26, 2026 09:51
@stewartadam stewartadam changed the title fix: lower the minimum supported Rust version to 1.88 fix!: require Rust 1.88 or later Nov 26, 2026
@stewartadam
stewartadam disabled auto-merge November 26, 2026 09:53
@stewartadam
stewartadam disabled auto-merge November 26, 2026 09:53
@stewartadam
stewartadam enabled auto-merge (squash) November 26, 2026 09:53
@stewartadam
stewartadam merged commit be029aa into main Nov 26, 2026
13 checks passed
@stewartadam
stewartadam deleted the fix/msrv-1.88 branch November 26, 2026 09:55
This was referenced Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants