fix(ci): update deny.toml to cargo-deny v2 format

This commit is contained in:
2026-02-25 19:44:38 +03:00
parent fd7754f7e7
commit b8e0cba26a
+6 -10
View File
@@ -1,4 +1,4 @@
# cargo-deny configuration for Pezkuwi SDK # cargo-deny v2 configuration for Pezkuwi SDK
# https://embarkstudios.github.io/cargo-deny/ # https://embarkstudios.github.io/cargo-deny/
[graph] [graph]
@@ -7,26 +7,23 @@ targets = [
{ triple = "x86_64-unknown-linux-musl" }, { triple = "x86_64-unknown-linux-musl" },
{ triple = "wasm32-unknown-unknown" }, { triple = "wasm32-unknown-unknown" },
] ]
# Exclude test/bench-only crates from checks
exclude = [] exclude = []
# Advisory database - check for known vulnerabilities # Advisory database - check for known vulnerabilities
# In v2: all vulnerability/unsound/notice advisories automatically emit errors.
# Use `ignore` to suppress specific advisories.
[advisories] [advisories]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn" yanked = "warn"
notice = "warn" unmaintained = "workspace"
ignore = [ ignore = [
# Add specific advisory IDs to ignore here with justification: # Add specific advisory IDs to ignore here with justification:
# "RUSTSEC-0000-0000", # reason for ignoring # "RUSTSEC-0000-0000", # reason for ignoring
] ]
# License compliance # License compliance
# In v2: all licenses are denied unless explicitly allowed.
# Removed v1 fields: unlicensed, deny, copyleft, allow-osi-fsf-free, default
[licenses] [licenses]
unlicensed = "deny"
copyleft = "warn"
allow-osi-fsf-free = "either"
default = "deny"
confidence-threshold = 0.8 confidence-threshold = 0.8
allow = [ allow = [
"Apache-2.0", "Apache-2.0",
@@ -60,7 +57,6 @@ ignore = true
multiple-versions = "warn" multiple-versions = "warn"
wildcards = "allow" wildcards = "allow"
highlight = "simplest-path" highlight = "simplest-path"
# Deny specific problematic crates
deny = [] deny = []
skip = [] skip = []
skip-tree = [] skip-tree = []