Skip to content

X0001 audit-unmaintained

Rule: No dependency is marked unmaintained or replaced in the RustSec database.

Code X0001 (stable, never reused)
Id audit-unmaintained
Category audit
Source cargo-audit (run as an executable)
Fix by hand
Needs cargo-audit installed

Level per tier

Tier Level Reason
small off
small-workspace off
medium off
big off
ai off
embedded off
ui off
egui off
units-strict off
units-paranoid off

Why

An unmaintained crate gets no fixes. RustSec marks crates their authors gave up, and informational notices (a crate replaced by another); cargo-audit reports them.

How to fix

Move to the maintained replacement the advisory names, or ignore the advisory in .cargo/audit.toml with a reason.

Configure

[lints.audit-unmaintained]
level = "deny"
reason = "why this project wants it at this level"

Allow one finding in the code with // spirit-level: allow(audit-unmaintained) <reason> (waivers); the code works there too, as in [lints.X0001].