Skip to content

docs: bring the rustc badge up to the workspace MSRV - #2458

Draft
mehmetkr-31 wants to merge 1 commit into
0xMiden:nextfrom
mehmetkr-31:fix-msrv-badge
Draft

docs: bring the rustc badge up to the workspace MSRV#2458
mehmetkr-31 wants to merge 1 commit into
0xMiden:nextfrom
mehmetkr-31:fix-msrv-badge

Conversation

@mehmetkr-31

Copy link
Copy Markdown

Closes #2456

Draft while I wait to be assigned on the issue.

Rationale

The README badge advertised rustc-1.93+, while the workspace pins higher:

  • rust-toolchain.toml → channel 1.96
  • root Cargo.tomlrust-version = "1.96.1"

A contributor who follows the badge installs a toolchain the workspace rejects, and only finds out when cargo refuses to build.

Changes

One line. The badge now reads rustc-1.96.1+.

I used 1.96.1 rather than 1.96 because rust-version is what cargo actually enforces — the rust-toolchain.toml channel is the looser of the two, so quoting it would under-state the requirement by a patch version.

Test plan

There is nothing to execute here, so instead: I swept the repo's markdown, TOML and workflow files for other references to 1.93, 1.94 and 1.95, in case the badge had company. It did not — this was the only stale mention.

Docs only, so this wants the no changelog label.

The README badge advertised `rustc-1.93+` while `rust-toolchain.toml` pins channel
`1.96` and the workspace `Cargo.toml` sets `rust-version = "1.96.1"`. A contributor
following the badge installs a toolchain the workspace rejects, and only finds out
when cargo refuses to build.

Uses 1.96.1 rather than 1.96, since `rust-version` is what cargo actually enforces.

Swept the rest of the repo's markdown, TOML and workflow files for other references to
1.93/1.94/1.95; this badge was the only one.

Closes 0xMiden#2456
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.

README rustc badge is behind the workspace MSRV

1 participant