From 08b75589f5a728958000ca93d0444e4ee27766f8 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Wed, 13 Mar 2024 09:35:11 +0100 Subject: [PATCH] deny.toml: remove deprecated keys, opt-in to v2 --- deny.toml | 9 ++------- 1 file 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]]