Skip to content

Commit

Permalink
chore: Fix advisory stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
OtaK committed Dec 15, 2022
1 parent 9bd97c7 commit c6b998d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[advisories]
ignore = [
# ? `time` is only used in the interop driver's deps. Don't really care as it's not exposed code
"RUSTSEC-2020-0071",
# ? `ansi_term` works as is, despite being unmaintained
"RUSTSEC-2021-0139",
# ? `sodiumoxide` is only used in tests to check against our proteus compat layer
"RUSTSEC-2021-0137",
# ? `atty` only has a vuln on windows
"RUSTSEC-2021-0145",
]
9 changes: 7 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ targets = [
# Android
{ triple = "aarch64-linux-android" },
{ triple = "armv7-linux-androideabi" },
{ triple = "thumbv7neon-linux-androideabi" },
{ triple = "x86_64-linux-android" },
]

Expand All @@ -24,6 +25,12 @@ vulnerability = "warn"
ignore = [
# ? ansi_term works well as is, despite being unmaintained
"RUSTSEC-2021-0139",
# ? `time` is only used in the interop runner
"RUSTSEC-2020-0071",
# ? `sodiumoxide` is only used in tests
"RUSTSEC-2021-0137",
# ? `atty` only has a vuln on windows
"RUSTSEC-2021-0145",
]

[bans]
Expand Down Expand Up @@ -65,8 +72,6 @@ private = [
"https://github.com/otak",
# TODO: remove when a stable ring version is published
"https://github.com/briansmith",
# TODO: Remove when refinery is up to date
"https://github.com/rust-db/refinery",
]

[sources.allow-org]
Expand Down

0 comments on commit c6b998d

Please sign in to comment.