Skip to content

Commit 5937f71

Browse files
authored
Cargo: remove MSRV-pinned crates for Rust 1.74 (#146)
Remove pinned versions of crates clap, predicates*, as they are now able to be compiled with Rust 1.74, CI-specfied version of Rust. Set package.rust-version to 1.74 to be used by other crates that would make use of MSRV-aware resolver which is available in Rust 1.83 or newer.
1 parent 25d23f7 commit 5937f71

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "azure-init"
33
version = "0.1.1"
44
edition = "2021"
5+
rust-version = "1.74"
56
repository = "https://github.com/Azure/azure-init/"
67
homepage = "https://github.com/Azure/azure-init/"
78
license = "MIT"
@@ -14,15 +15,13 @@ anyhow = "1.0.81"
1415
tokio = { version = "1", features = ["full"] }
1516
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
1617
tracing = "0.1.40"
17-
# We work fine with any version of 4, but 4.5 bumped MSRV to 1.74
18-
clap = { version = "<=4.4", features = ["derive", "cargo", "env"] }
18+
clap = { version = "4.5.21", features = ["derive", "cargo", "env"] }
1919

2020
[dev-dependencies]
21-
# Purely for the MSRV requirement.
22-
assert_cmd = "<=2.0.13"
23-
predicates = "<=3.1.0"
24-
predicates-core = "<=1.0.6"
25-
predicates-tree = "<=1.0.9"
21+
assert_cmd = "2.0.16"
22+
predicates = "3.1.2"
23+
predicates-core = "1.0.8"
24+
predicates-tree = "1.0.11"
2625

2726
[dependencies.libazureinit]
2827
path = "libazureinit"

libazureinit/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "libazureinit"
33
version = "0.1.1"
44
edition = "2021"
5+
rust-version = "1.74"
56
build = "build.rs"
67
repository = "https://github.com/Azure/azure-init/"
78
homepage = "https://github.com/Azure/azure-init/"

0 commit comments

Comments
 (0)