Skip to content

Commit

Permalink
chore: Make N-2 the default MSRV
Browse files Browse the repository at this point in the history
We likely don't want to release these packages every 6 months just for
an MSRV bump.
By moving the MSRV out of the package, `cargo bump-check` will ignore
the MSRV bump.

Inspired by rust-lang#13266
  • Loading branch information
epage committed Jan 18, 2024
1 parent 4b700b9 commit fa74400
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = [
]

[workspace.package]
rust-version = "1.75.0" # MSRV:1
rust-version = "1.73" # MSRV:3
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/rust-lang/cargo"
Expand Down
2 changes: 1 addition & 1 deletion crates/cargo-platform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cargo-platform"
version = "0.1.8"
edition.workspace = true
license.workspace = true
rust-version = "1.73" # MSRV:3
rust-version.workspace = true
homepage.workspace = true
repository.workspace = true
documentation = "https://docs.rs/cargo-platform"
Expand Down
2 changes: 1 addition & 1 deletion crates/home/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "home"
version = "0.5.11"
authors = ["Brian Anderson <[email protected]>"]
rust-version = "1.73" # MSRV:3
rust-version.workspace = true
documentation = "https://docs.rs/home"
edition.workspace = true
include = [
Expand Down
2 changes: 1 addition & 1 deletion crates/rustfix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = [
"Pascal Hertleif <[email protected]>",
"Oliver Schneider <[email protected]>",
]
rust-version = "1.73" # MSRV:3
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential-1password/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-credential-1password"
version = "0.4.4"
rust-version = "1.73" # MSRV:3
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-credential"
version = "0.4.4"
rust-version = "1.73" # MSRV:3
rust-version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
Expand Down

0 comments on commit fa74400

Please sign in to comment.