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]
vulnerability = "deny"
unmaintained = "deny"
version = 2
[licenses]
default = "deny"
unlicensed = "deny"
version = 2
allow = [
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"OpenSSL",
"Unicode-DFS-2016",
"Zlib",
]
# MPL-2.0 is copyleft but not "infectuous" like GPL
copyleft = "allow"
private = { ignore = true }
[[licenses.clarify]]