Skip to content

Commit

Permalink
[rust] suppress cargo audit false positives
Browse files Browse the repository at this point in the history
This adds `.cargo/audit.toml` which suppresses two crates that are
flagged by `cargo audit` but does not affect us:
* `time`, dependency of `chrono`, affected API is not used
* `mach`, dependency of `serialport`, only affects MacOS

Signed-off-by: Gary Guo <gary.guo@lowrisc.org>
  • Loading branch information
nbdd0121 committed Aug 3, 2023
1 parent e980bff commit baa7099
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions third_party/rust/.cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[advisories]
ignore = [
"RUSTSEC-2020-0071", # `time`, dependency of `chrono`, affected API is not used
"RUSTSEC-2020-0168", # `mach`, dependency of `serialport`, only affects MacOS
]

0 comments on commit baa7099

Please sign in to comment.