From 902c3229cca705786d37a31fecfdb2bf14819e24 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Mon, 5 Aug 2024 11:16:52 +1200 Subject: [PATCH] Upgrade deny.toml to version 2 (#704) Many "deny" settings have been removed because they are now the default. See: https://github.com/EmbarkStudios/cargo-deny/pull/611 --- deny.toml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/deny.toml b/deny.toml index 6a8bc6769..6fb5cf59f 100644 --- a/deny.toml +++ b/deny.toml @@ -1,17 +1,14 @@ [advisories] +version = 2 db-path = "~/.cargo/advisory-db" db-urls = ["https://github.com/rustsec/advisory-db"] -vulnerability = "deny" -unmaintained = "deny" yanked = "deny" -notice = "deny" ignore = [ "RUSTSEC-2021-0145" # from criterion, used only for benchmarking ] [licenses] -unlicensed = "deny" -copyleft = "deny" +version = 2 allow = [ "MIT", "Unicode-DFS-2016", @@ -20,7 +17,6 @@ allow = [ "ISC", "BSD-3-Clause" ] -default = "deny" [bans] multiple-versions = "deny"