diff options
| author | aur-build <aur-build@localhost> | 2026-11-21 13:31:33 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-21 13:31:33 +0000 |
| commit | 864bb0bc3181ff57f4b8a30c4fc4ac4099185ba9 (patch) | |
| tree | d5df77f24cdd3f66218dec912dd4eab77d371e2d | |
| parent | 48fecfe03be4f214eaf4f9c49cb3c27496bb74ba (diff) | |
| download | aur-build-864bb0bc3181ff57f4b8a30c4fc4ac4099185ba9.tar.gz aur-build-864bb0bc3181ff57f4b8a30c4fc4ac4099185ba9.zip | |
deps: drop `similar`, and stop telling cargo not to look
`[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.
| -rw-r--r-- | Cargo.lock | 7 | ||||
| -rw-r--r-- | Cargo.toml | 6 |
2 files changed, 0 insertions, 13 deletions
@@ -138,7 +138,6 @@ dependencies = [ "serde", "serde_json", "sha2", - "similar", "tar", "tempfile", "thiserror", @@ -955,12 +954,6 @@ 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" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -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 |
