-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an explicit audit config to control its behaviour, also ignore advisory for serde_cbor until resolved. Signed-off-by: xla <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[advisories] | ||
ignore = [ | ||
# TODO(xla): serde_cbor is unmaintained, but a proper replacement will take time to land in the repo. | ||
# https://rustsec.org/advisories/RUSTSEC-2021-0127.html | ||
# https://github.com/informalsystems/tendermint-rs/issues/1026 | ||
# https://github.com/informalsystems/tendermint-rs/issues/1038 | ||
"RUSTSEC-2021-0127", | ||
] | ||
informational_warnings = ["unmaintained"] | ||
severity_threshold = "low" | ||
|
||
[database] | ||
path = "~/.cargo/advisory-db" | ||
url = "https://github.com/RustSec/advisory-db.git" | ||
fetch = true | ||
stale = false | ||
|
||
[output] | ||
deny = ["unmaintained"] # exit on error if unmaintained dependencies are found | ||
format = "terminal" | ||
quiet = false | ||
show_tree = true | ||
|
||
[target] | ||
arch = "x86_64" | ||
os = "linux" | ||
|
||
[packages] | ||
source = "all" | ||
|
||
[yanked] | ||
enabled = true | ||
update_index = true |