Skip to content

Commit a440504

Browse files
committed
gate cargo-platformt under rustc feature
1 parent ff62067 commit a440504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cargo_metadata = "0.18"
2020
crossbeam-channel = "0.5.6"
2121
bstr = "1.0.1"
2222
rustfix = "0.8.1"
23-
cargo-platform = "0.1.2"
23+
cargo-platform = { version = "0.1.2", optional = true }
2424
comma = "1.0.0"
2525
anyhow = "1.0.6"
2626
indicatif = "0.17.6"
@@ -53,4 +53,4 @@ test = false
5353

5454
[features]
5555
default = ["rustc"]
56-
rustc = []
56+
rustc = ["dep:cargo-platform"]

0 commit comments

Comments
 (0)