ci: fix deny.toml deprecated keys (copyleft, unlicensed removed in cargo-deny)

This commit is contained in:
2026-02-24 10:26:58 +00:00
parent 9784ad1813
commit eb4f82df07

View File

@@ -20,15 +20,12 @@ allow = [
"CC0-1.0", "CC0-1.0",
"OpenSSL", "OpenSSL",
"Zlib", "Zlib",
"MPL-2.0", # Mozilla Public License — ok for binary linking "MPL-2.0",
] ]
copyleft = "warn" # GPL etc — warn, don't block
unlicensed = "deny"
[bans] [bans]
multiple-versions = "warn" multiple-versions = "warn"
deny = [ deny = [
# Prefer rustls over openssl for static builds and supply chain cleanliness
{ name = "openssl-sys" }, { name = "openssl-sys" },
{ name = "openssl" }, { name = "openssl" },
] ]
@@ -37,5 +34,4 @@ skip = []
[sources] [sources]
unknown-registry = "warn" unknown-registry = "warn"
unknown-git = "warn" unknown-git = "warn"
# Allow only the official crates.io index
allow-registry = ["https://github.com/rust-lang/crates.io-index"] allow-registry = ["https://github.com/rust-lang/crates.io-index"]