-
Notifications
You must be signed in to change notification settings - Fork 395
Description
Now that cargo-audit
v0.9 is out with support for informational advisories, it would be good to start filing advisories for unmaintained crates.
Previous discussion around this topic:
- Tracking unmaintained crates #134
- https://internals.rust-lang.org/t/tracking-unmaintained-crates-using-rustsec/10884
Note that for users of older versions of cargo-audit
which lack support for informational advisories, these advisories will appear as hard errors. There's not much we can do about that except have people upgrade to a newer cargo-audit
release which does.
I'd propose including the version of the last crate release so that in the event unmaintained crates are maintained again and see new releases, we can filter those releases from these advisories automatically. So if the last release of a crate were 0.1.2
, add:
unaffected_versions = ["> 0.1.2"]
Ideally we can also add a list of alternative maintained crates to consider so these advisories are actionable. We can always update this list retroactively in the event someone has a new alternative to recommend.
Here are some unmaintained crates that have come up in discussion and some suggested alternatives to recommend:
-
chan
: recommendcrossbeam-channel
-
libusb
: recommendrusb
-
rust-crypto
: recommendring
, RustCrypto (org),sodiumoxide
-
term
: recommendtermcolor