From 864bb0bc3181ff57f4b8a30c4fc4ac4099185ba9 Mon Sep 17 00:00:00 2001 From: aur-build Date: Sat, 21 Nov 2026 13:31:33 +0000 Subject: deps: drop `similar`, and stop telling cargo not to look MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `[lints.cargo] unused_dependencies = "allow"` was justified by a roadmap: the warning was silenced because the dependencies it named would be needed by targets further down the line. One of them never arrived. `similar` is referenced by nothing in `src`, `tests` or `tools` — the diff is rendered by `similar`'s namesake in `review::diff` only if something calls it, and nothing does — and the mask is what kept that invisible. Both are gone, and neither profile now warns: `cargo check --all-targets --features test-support` and `cargo check --release --all-targets` are silent without the override, so the next dependency that goes unused is a warning rather than a fact nobody can see. --- Cargo.toml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0a28dde..91cdbc4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,7 +62,6 @@ crossbeam-channel = "0.5" tiny_http = "0.12" askama = "0.14" ureq = { version = "2", features = ["json"] } -similar = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10" @@ -82,11 +81,6 @@ flate2 = "1" # production build cannot see the raw-SQL door at all. test-support = [] -[lints.cargo] -# Cargo warns about dependencies that are not yet referenced from every target; -# they are all used by targets further down the roadmap. -unused_dependencies = "allow" - [dev-dependencies] # Self-dependency, the standard way to turn on a feature for the test targets # only. The integration tests and `tests/common` are separate crates, so this is -- cgit v1.2.3