From bcbe4a7e6d89e44a0e0d9f3309370f4a47b5ddcc Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 24 Apr 2026 11:14:13 -0500 Subject: [PATCH 1/2] chore: Remove unused deps As found by ``` CARGO_LOG=cargo::core::compiler::unused_deps=debug nargo check --workspace ``` --- Cargo.lock | 5 ----- benches/benchsuite/Cargo.toml | 4 +++- crates/cargo-test-support/Cargo.toml | 2 -- crates/resolver-tests/Cargo.toml | 4 +++- crates/rustfix/Cargo.toml | 2 -- crates/xtask-spellcheck/Cargo.toml | 1 - 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 539855d6aaf..e29c9ea2149 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -527,8 +527,6 @@ version = "0.4.12" name = "cargo-test-support" version = "0.11.3" dependencies = [ - "anstream", - "anstyle", "anyhow", "cargo-test-macro", "cargo-util", @@ -4314,8 +4312,6 @@ dependencies = [ "snapbox", "tempfile", "thiserror 2.0.18", - "tracing", - "tracing-subscriber", ] [[package]] @@ -5927,7 +5923,6 @@ name = "xtask-spellcheck" version = "0.0.0" dependencies = [ "anyhow", - "cargo-util", "cargo_metadata", "clap", "semver", diff --git a/benches/benchsuite/Cargo.toml b/benches/benchsuite/Cargo.toml index 867b6722325..fb1a7c175d3 100644 --- a/benches/benchsuite/Cargo.toml +++ b/benches/benchsuite/Cargo.toml @@ -11,12 +11,14 @@ publish = false cargo.workspace = true cargo-util.workspace = true cargo-util-terminal.workspace = true -criterion.workspace = true flate2.workspace = true rand.workspace = true tar.workspace = true url.workspace = true +[dev-dependencies] +criterion.workspace = true + [lib] bench = false diff --git a/crates/cargo-test-support/Cargo.toml b/crates/cargo-test-support/Cargo.toml index 868ec3c1c51..d7f9aa4f395 100644 --- a/crates/cargo-test-support/Cargo.toml +++ b/crates/cargo-test-support/Cargo.toml @@ -8,8 +8,6 @@ repository.workspace = true description = "Testing framework for Cargo's testsuite." [dependencies] -anstream.workspace = true -anstyle.workspace = true anyhow.workspace = true cargo-test-macro.workspace = true cargo-util.workspace = true diff --git a/crates/resolver-tests/Cargo.toml b/crates/resolver-tests/Cargo.toml index cced0e10616..2deddc0c9a9 100644 --- a/crates/resolver-tests/Cargo.toml +++ b/crates/resolver-tests/Cargo.toml @@ -10,8 +10,10 @@ cargo-platform.workspace = true cargo-util-schemas.workspace = true cargo-util.workspace = true proptest.workspace = true -snapbox.workspace = true varisat.workspace = true +[dev-dependencies] +snapbox.workspace = true + [lints] workspace = true diff --git a/crates/rustfix/Cargo.toml b/crates/rustfix/Cargo.toml index 274a73d9515..4d4e828fe7c 100644 --- a/crates/rustfix/Cargo.toml +++ b/crates/rustfix/Cargo.toml @@ -20,13 +20,11 @@ exclude = [ serde = { workspace = true, features = ["derive"] } serde_json.workspace = true thiserror.workspace = true -tracing.workspace = true [dev-dependencies] anyhow.workspace = true proptest.workspace = true tempfile.workspace = true -tracing-subscriber.workspace = true snapbox.workspace = true [lints] diff --git a/crates/xtask-spellcheck/Cargo.toml b/crates/xtask-spellcheck/Cargo.toml index d082b358a79..b3de15b37e1 100644 --- a/crates/xtask-spellcheck/Cargo.toml +++ b/crates/xtask-spellcheck/Cargo.toml @@ -7,7 +7,6 @@ publish = false [dependencies] anyhow.workspace = true cargo_metadata.workspace = true -cargo-util.workspace = true clap.workspace = true semver.workspace = true From 42690470904b66143027220b0912aff285462501 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 24 Apr 2026 11:35:17 -0500 Subject: [PATCH 2/2] chore(rustfix): Bump version --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/rustfix/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e29c9ea2149..749fc2ce841 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4303,7 +4303,7 @@ checksum = "781442f29170c5c93b7185ad559492601acdc71d5bb0706f5868094f45cfcd08" [[package]] name = "rustfix" -version = "0.9.6" +version = "0.9.7" dependencies = [ "anyhow", "proptest", diff --git a/Cargo.toml b/Cargo.toml index daabed57558..ab0eb9c94a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -93,7 +93,7 @@ regex = "1.12.3" rusqlite = { version = "0.39.0", features = ["bundled"] } rustc-hash = "2.1.2" rustc-stable-hash = "0.1.2" -rustfix = { version = "0.9.6", path = "crates/rustfix" } +rustfix = { version = "0.9.7", path = "crates/rustfix" } same-file = "1.0.6" schemars = "1.2.1" security-framework = "3.7.0" diff --git a/crates/rustfix/Cargo.toml b/crates/rustfix/Cargo.toml index 4d4e828fe7c..61a850c6063 100644 --- a/crates/rustfix/Cargo.toml +++ b/crates/rustfix/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustfix" -version = "0.9.6" +version = "0.9.7" authors = [ "Pascal Hertleif ", "Oliver Schneider ",