Skip to content

Set MSRV to Rust 1.88 and enforce in CI#307

Merged
stevepryde merged 1 commit intomainfrom
claude/infallible-golick-df61c3
Apr 30, 2026
Merged

Set MSRV to Rust 1.88 and enforce in CI#307
stevepryde merged 1 commit intomainfrom
claude/infallible-golick-df61c3

Conversation

@stevepryde
Copy link
Copy Markdown
Owner

Summary

  • Pin MSRV to Rust 1.88 (released 2025-06-26). The README previously claimed "currently latest", which isn't a real commitment.
  • Add rust-version = "1.88" to [workspace.package] so both crates inherit it. This also enables cargo's MSRV-aware resolver to pick MSRV-compatible dep versions.
  • Add a msrv GitHub Actions workflow that runs cargo check --workspace --all-features --all-targets on 1.88 for every PR and push to main, so a future dependency bump can't silently raise the floor.
  • Trim the README MSRV section to just the version.

Why 1.88 specifically

The realistic floor — anything lower won't actually compile:

  • resolver = "3" requires 1.84
  • edition = "2024" requires 1.85
  • zip = "8" (8.6.0, pulled in by the manager feature) requires 1.88

Tested locally on 1.85 and 1.87 — both fail on zip. 1.88 builds clean.

Test plan

  • cargo +1.88.0 check --workspace --all-features --all-targets
  • cargo +1.88.0 test -p thirtyfour --lib --all-features
  • cargo +1.88.0 test -p thirtyfour --doc --all-features
  • cargo +1.88.0 build --workspace --all-features --tests --examples
  • cargo +1.88.0 clippy --all-features --all-targets
  • Pre-push checklist on stable: cargo fmt --check, cargo clippy --all-features --all-targets, cargo doc --no-deps --all-features
  • New msrv workflow runs green on this PR

🤖 Generated with Claude Code

The README previously claimed MSRV was "currently latest". Pin a real floor
so users have something to plan against. 1.88 is the realistic minimum
given edition 2024 (1.85+) plus the zip 8 dependency the manager feature
pulls in (1.88+).

Adds rust-version to the workspace, updates the README, and adds an msrv
workflow that runs cargo check on 1.88 so a future dep bump can't silently
raise the floor.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@stevepryde stevepryde merged commit c0f64cd into main Apr 30, 2026
15 checks passed
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.

1 participant