From df330093d5904e233351d1f06da9faa0657ef250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Aug 2024 09:05:44 +0300 Subject: [PATCH] deny: Update to new configuration format Part-of: --- deny.toml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/deny.toml b/deny.toml index 73309dc8..08165335 100644 --- a/deny.toml +++ b/deny.toml @@ -1,9 +1,7 @@ [advisories] +version = 2 db-path = "~/.cargo/advisory-db" db-urls = ["https://github.com/rustsec/advisory-db"] -vulnerability = "deny" -unmaintained = "warn" -notice = "warn" ignore = [ # Waiting for https://github.com/librespot-org/librespot/issues/937 "RUSTSEC-2021-0059", @@ -15,13 +13,19 @@ ignore = [ ] [licenses] -unlicensed = "deny" +version = 2 allow = [ + "MIT", + "BSD-2-Clause", + "BSD-3-Clause", + "ISC", + "OpenSSL", + "Zlib", + "Unicode-DFS-2016", + "Apache-2.0", + "Apache-2.0 WITH LLVM-exception", "MPL-2.0", ] -default = "deny" -copyleft = "deny" -allow-osi-fsf-free = "either" confidence-threshold = 0.8 [[licenses.clarify]]