Skip to content

Commit

Permalink
Error if depending on a crate that has been yanked.
Browse files Browse the repository at this point in the history
A yanked crate is quite uncommon and usually reflects a serious problem.
  • Loading branch information
nlewycky committed Feb 10, 2021
1 parent 7bea1a3 commit 4782f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ vulnerability = "deny"
# The lint level for unmaintained crates
unmaintained = "warn"
# The lint level for crates that have been yanked from their source registry
yanked = "warn"
yanked = "deny"
# The lint level for crates with security notices. Note that as of
# 2019-12-17 there are no security notice advisories in
# https://github.com/rustsec/advisory-db
Expand Down

0 comments on commit 4782f78

Please sign in to comment.