summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2024-03-13 11:12:49 +0100
committerGitHub <noreply@github.com>2024-03-13 11:12:49 +0100
commiteaa84580457eb50f3fbf1b099293da3a6a9b334d (patch)
tree432a41fccf55a05162b7319dba6b8b4f21cc4ce1
parente3f9c80a1e4f18513386dc44666f85e1586b8d77 (diff)
parent08b75589f5a728958000ca93d0444e4ee27766f8 (diff)
Merge pull request #6065 from cakebaker/deny_toml_remove_deprecated_keys
deny.toml: remove deprecated keys, opt-in to v2
-rw-r--r--deny.toml9
1 files changed, 2 insertions, 7 deletions
diff --git a/deny.toml b/deny.toml
index d7c04ad2d..6fee9c779 100644
--- a/deny.toml
+++ b/deny.toml
@@ -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]]