deny.toml: remove deprecated keys, opt-in to v2

This commit is contained in:
Daniel Hofstetter 2024-03-13 09:35:11 +01:00
parent e3f9c80a1e
commit 08b75589f5

View file

@ -6,10 +6,8 @@
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "warn"
unmaintained = "warn"
version = 2
yanked = "warn"
notice = "warn"
ignore = [
#"RUSTSEC-0000-0000",
]
@ -18,7 +16,7 @@ ignore = [
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
unlicensed = "deny"
version = 2
allow = [
"MIT",
"Apache-2.0",
@ -29,9 +27,6 @@ allow = [
"CC0-1.0",
"Unicode-DFS-2016",
]
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
[[licenses.clarify]]