chore: Update cargo-deny configuration to version 2

This commit is contained in:
TÖRÖK Attila 2024-03-05 14:51:42 +01:00 committed by Nathan Adams
parent 587fdff1ac
commit 18cda28f62
1 changed files with 6 additions and 10 deletions

View File

@ -1,10 +1,9 @@
[graph]
# If true, metadata will be collected with `--all-features`.
all-features = true
[licenses]
# The lint level for crates which do not have a detectable license
unlicensed = "deny"
version = 2
# List of explicitly allowed licenses
allow = [
@ -16,6 +15,7 @@ allow = [
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
"MPL-2.0",
"BSL-1.0",
"CC0-1.0",
@ -23,13 +23,6 @@ allow = [
"LicenseRef-UFL-1.0",
]
# List of explicitly disallowed licenses
deny = [
"GPL-1.0",
"GPL-2.0",
"GPL-3.0",
]
# Some crates don't have (easily) machine readable licensing information,
# adding a clarification entry for it allows you to manually specify the
# licensing information.
@ -72,3 +65,6 @@ unknown-git = "deny"
github = [
"ruffle-rs",
]
[advisories]
version = 2