Skip to content

chore(msrv): pin rust-version 1.85 + add MSRV lane to rust-ci#76

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/add-msrv
May 14, 2026
Merged

chore(msrv): pin rust-version 1.85 + add MSRV lane to rust-ci#76
hyperpolymath merged 1 commit into
mainfrom
chore/add-msrv

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

Per V-L3-K1: declare MSRV and gate it in CI.

  • Cargo.toml: rust-version = "1.85" (matches edition = "2024" stabilisation)
  • rust-ci.yml: test job now runs as a matrix on [1.85, stable]. MSRV breakage shows as a check failure instead of as a downstream user surprise.
  • check job (clippy/fmt) stays on stable — those tools evolve faster than the MSRV gate.

Closes

Test plan

  • CI shows two test lanes: Cargo test (1.85) and Cargo test (stable), both green
  • Cargo.toml has rust-version = 1.85

Closes #57.

Cargo.toml uses `edition = "2024"` which stabilised in Rust 1.85, but
no MSRV was recorded. Pin `rust-version = "1.85"` and add a CI matrix
lane on that exact toolchain alongside `stable`, so MSRV breakage shows
up as a check failure instead of as a downstream user surprise.

The check job (clippy + fmt) stays on `stable` only — those tools are
allowed to evolve faster than the MSRV gate.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@hyperpolymath hyperpolymath merged commit 2988347 into main May 14, 2026
16 of 18 checks passed
@hyperpolymath hyperpolymath deleted the chore/add-msrv branch May 14, 2026 14:24
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.

V-L3-K1: add rust-version (MSRV) to Cargo.toml; CI matrix

1 participant