chore(cargo-deny): migrate to advisories & licenses v2 config (#5877)
This commit is contained in:
parent
babf941cac
commit
940eca5867
11
deny.toml
11
deny.toml
|
@ -1,20 +1,17 @@
|
||||||
[advisories]
|
[advisories]
|
||||||
vulnerability = "deny"
|
version = 2
|
||||||
unmaintained = "warn"
|
|
||||||
yanked = "warn"
|
|
||||||
notice = "warn"
|
|
||||||
|
|
||||||
# A list of advisory IDs to ignore. Note that ignored advisories will still
|
# A list of advisory IDs to ignore. Note that ignored advisories will still
|
||||||
# output a note when they are encountered.
|
# output a note when they are encountered.
|
||||||
ignore = [
|
ignore = [
|
||||||
|
|
||||||
|
|
||||||
# "RUSTSEC-0000-0000",
|
# { id = "RUSTSEC-0000-0000", reason = "" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[licenses]
|
[licenses]
|
||||||
# The lint level for crates which do not have a detectable license
|
version = 2
|
||||||
unlicensed = "deny"
|
|
||||||
# List of explicitly allowed licenses
|
# List of explicitly allowed licenses
|
||||||
allow = [
|
allow = [
|
||||||
"Apache-2.0 WITH LLVM-exception",
|
"Apache-2.0 WITH LLVM-exception",
|
||||||
|
|
Loading…
Reference in New Issue