diff --git a/crates/stdnum-wasm-size-fixture/Cargo.toml b/crates/stdnum-wasm-size-fixture/Cargo.toml index 00d9843..7e67b5e 100644 --- a/crates/stdnum-wasm-size-fixture/Cargo.toml +++ b/crates/stdnum-wasm-size-fixture/Cargo.toml @@ -19,6 +19,9 @@ validator-set = [] stella-stdnum-core = { path = "../stdnum-core" } wasm-bindgen = "=0.2.129" +[lints.cargo] +unused_dependencies = "deny" + # Keep this fixture independent so it exercises the explicit profile expected # from constrained WebAssembly consumers. [workspace] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index f31ace5..cf47d88 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -20,6 +20,9 @@ cargo-fuzz = true libfuzzer-sys = "0.4" stella-stdnum-core = { path = "../crates/stdnum-core" } +[lints.cargo] +unused_dependencies = "deny" + # Detach from the parent workspace so `cargo build --workspace` at the repo root # never pulls in the fuzz targets or their nightly-only dependencies. [workspace] diff --git a/scripts/rust-oracle/Cargo.toml b/scripts/rust-oracle/Cargo.toml index e15cf63..443bb94 100644 --- a/scripts/rust-oracle/Cargo.toml +++ b/scripts/rust-oracle/Cargo.toml @@ -8,3 +8,6 @@ edition = "2021" iban_validate = "5" luhn = "1" serde_json = "1" + +[lints.cargo] +unused_dependencies = "deny"