ci: Use version 2 of cargo-deny config

Gets rid of deprecation warnings
This commit is contained in:
Kévin Commaille 2024-06-10 20:28:58 +02:00 committed by Kévin Commaille
parent ef40b184b7
commit dead69001c

View File

@ -8,23 +8,20 @@ exclude = [
] ]
[advisories] [advisories]
vulnerability = "deny" version = 2
unmaintained = "deny"
[licenses] [licenses]
default = "deny" version = 2
unlicensed = "deny"
allow = [ allow = [
"Apache-2.0", "Apache-2.0",
"BSD-3-Clause", "BSD-3-Clause",
"ISC", "ISC",
"MIT", "MIT",
"MPL-2.0",
"OpenSSL", "OpenSSL",
"Unicode-DFS-2016", "Unicode-DFS-2016",
"Zlib", "Zlib",
] ]
# MPL-2.0 is copyleft but not "infectuous" like GPL
copyleft = "allow"
private = { ignore = true } private = { ignore = true }
[[licenses.clarify]] [[licenses.clarify]]