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 /Cargo.toml | |
| 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.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 |
