summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2024-03-29 16:40:58 +0100
committerGitHub <noreply@github.com>2024-03-29 16:40:58 +0100
commit940eca58673257a30738b208904636e3a1efd44f (patch)
treec8b42ca5bf6dcca4f5a2aa9a858d5158bee69937
parentbabf941cac4aab55b46fa1bdf658edea483af0b2 (diff)
chore(cargo-deny): migrate to advisories & licenses v2 config (#5877)
-rw-r--r--deny.toml11
1 files changed, 4 insertions, 7 deletions
diff --git a/deny.toml b/deny.toml
index 9178a8589..89848b366 100644
--- a/deny.toml
+++ b/deny.toml
@@ -1,20 +1,17 @@
[advisories]
-vulnerability = "deny"
-unmaintained = "warn"
-yanked = "warn"
-notice = "warn"
+version = 2
# A list of advisory IDs to ignore. Note that ignored advisories will still
# output a note when they are encountered.
ignore = [
- # "RUSTSEC-0000-0000",
+ # { id = "RUSTSEC-0000-0000", reason = "" },
]
[licenses]
-# The lint level for crates which do not have a detectable license
-unlicensed = "deny"
+version = 2
+
# List of explicitly allowed licenses
allow = [
"Apache-2.0 WITH LLVM-exception",