Skip to content

Commit c061bfb

Browse files
committed
Auto merge of #13324 - epage:msrv, r=weihanglo
chore: Make MSRV=N-2 the workspace default ### What does this PR try to resolve? Since we update the MSRV every release, `cargo bump-check` forces the changed packages to be released (#13266). A caveat is that `cargo bump-check` only checks the directory and doesn't do a `.crate` diff, so it misses out of changes to `workspace.package`. Because of our current workspace default, this means every 6 weeks we ship our user-facing packages but not the internal ones. This shifts that so we ship our internal packages every 6 weeks and our internal only when changed. ### How should we test and review this PR? ### Additional information If `rust-version = "auto"` (rust-lang/rfcs#3537) gets approved, then we will only ship packages that actually change
2 parents a8187e5 + c6c1df4 commit c061bfb

File tree

23 files changed

+19
-29
lines changed

23 files changed

+19
-29
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exclude = [
1111
]
1212

1313
[workspace.package]
14-
rust-version = "1.75.0" # MSRV:1
14+
rust-version = "1.73" # MSRV:3
1515
edition = "2021"
1616
license = "MIT OR Apache-2.0"
1717
homepage = "https://github.com/rust-lang/cargo"
@@ -127,7 +127,7 @@ name = "cargo"
127127
version = "0.78.0"
128128
edition.workspace = true
129129
license.workspace = true
130-
rust-version.workspace = true
130+
rust-version = "1.75.0" # MSRV:1
131131
homepage = "https://doc.rust-lang.org/cargo/index.html"
132132
repository.workspace = true
133133
documentation = "https://docs.rs/cargo"

benches/benchsuite/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "benchsuite"
33
version = "0.0.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
license.workspace = true
76
homepage = "https://github.com/rust-lang/cargo"

benches/capture/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "capture"
33
version = "0.1.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
license.workspace = true
76
description = "Tool for capturing a real-world workspace for benchmarking."

crates/cargo-platform/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cargo-platform"
33
version = "0.1.8"
44
edition.workspace = true
55
license.workspace = true
6-
rust-version = "1.73" # MSRV:3
6+
rust-version.workspace = true
77
homepage.workspace = true
88
repository.workspace = true
99
documentation = "https://docs.rs/cargo-platform"

crates/cargo-test-macro/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "cargo-test-macro"
33
version = "0.1.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
license.workspace = true
76
homepage.workspace = true

crates/cargo-test-support/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "cargo-test-support"
33
version = "0.1.0"
4-
rust-version.workspace = true
54
license.workspace = true
65
edition.workspace = true
76
publish = false

crates/cargo-util-schemas/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-util-schemas"
33
version = "0.2.0"
4-
rust-version.workspace = true
4+
rust-version = "1.75.0" # MSRV:1
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

crates/cargo-util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-util"
33
version = "0.2.10"
4-
rust-version.workspace = true
4+
rust-version = "1.75.0" # MSRV:1
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

crates/crates-io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "crates-io"
33
version = "0.40.0"
4-
rust-version.workspace = true
4+
rust-version = "1.75.0" # MSRV:1
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

crates/home/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "home"
33
version = "0.5.11"
44
authors = ["Brian Anderson <[email protected]>"]
5-
rust-version = "1.73" # MSRV:3
5+
rust-version.workspace = true
66
documentation = "https://docs.rs/home"
77
edition.workspace = true
88
include = [

crates/mdman/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "mdman"
33
version = "0.0.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
license.workspace = true
76
description = "Creates a man page page from markdown."

crates/resolver-tests/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "resolver-tests"
33
version = "0.0.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
publish = false
76

crates/rustfix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = [
55
"Pascal Hertleif <[email protected]>",
66
"Oliver Schneider <[email protected]>",
77
]
8-
rust-version = "1.73" # MSRV:3
8+
rust-version.workspace = true
99
edition.workspace = true
1010
license.workspace = true
1111
homepage.workspace = true

crates/semver-check/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = "semver-check"
33
version = "0.0.0"
44
authors = ["Eric Huss"]
5-
rust-version.workspace = true
65
edition.workspace = true
76
publish = false
87

crates/xtask-build-man/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "xtask-build-man"
33
version = "0.0.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
publish = false
76

crates/xtask-bump-check/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "xtask-bump-check"
33
version = "0.0.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
publish = false
76

crates/xtask-stale-label/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "xtask-stale-label"
33
version = "0.0.0"
4-
rust-version.workspace = true
54
edition.workspace = true
65
publish = false
76

credential/cargo-credential-1password/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-credential-1password"
33
version = "0.4.4"
4-
rust-version = "1.73" # MSRV:3
4+
rust-version.workspace = true
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

credential/cargo-credential-libsecret/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-credential-libsecret"
3-
version = "0.4.2"
4-
rust-version.workspace = true
3+
version = "0.4.3"
4+
rust-version = "1.75.0" # MSRV:1
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

credential/cargo-credential-macos-keychain/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-credential-macos-keychain"
3-
version = "0.4.2"
4-
rust-version.workspace = true
3+
version = "0.4.3"
4+
rust-version = "1.75.0" # MSRV:1
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

credential/cargo-credential-wincred/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-credential-wincred"
3-
version = "0.4.2"
4-
rust-version.workspace = true
3+
version = "0.4.3"
4+
rust-version = "1.75.0" # MSRV:1
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

credential/cargo-credential/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-credential"
33
version = "0.4.4"
4-
rust-version = "1.73" # MSRV:3
4+
rust-version.workspace = true
55
edition.workspace = true
66
license.workspace = true
77
homepage.workspace = true

0 commit comments

Comments
 (0)