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.lock | 7 ------- Cargo.toml | 6 ------ 2 files changed, 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index be4a17c..9c37733 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -138,7 +138,6 @@ dependencies = [ "serde", "serde_json", "sha2", - "similar", "tar", "tempfile", "thiserror", @@ -954,12 +953,6 @@ version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" -[[package]] -name = "similar" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" - [[package]] name = "slab" version = "0.4.12" 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