guard/deny.toml
loki5512344 be80204505
fix(ci): install libelf for tests, fix XDP clang include, unbreak cargo-deny
- rust-test needs libelf-dev/zlib1g-dev for vendored libbpf
- clang -target bpf needs the multiarch include dir for asm/types.h
- deny.toml: allow BSL-1.0 (xxhash-rust), skip duplicate versions pulled by
  redis/jsonwebtoken vs reqwest/axum, drop stale socket2 skip
- update rustls-webpki to 0.103.16 (RUSTSEC-2026-0382)
- enable jsonwebtoken rust_crypto provider so auth tests can run
2026-10-26 11:17:48 +01:00

71 lines
1.7 KiB
TOML

[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
]
all-features = true
no-default-features = false
[output]
feature-depth = 1
[advisories]
ignore = []
[licenses]
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Zlib",
"BSL-1.0",
"Unlicense",
"CC0-1.0",
"CDLA-Permissive-2.0",
"GPL-3.0",
"GPL-3.0-only",
"MPL-2.0",
]
confidence-threshold = 0.8
exceptions = []
[licenses.private]
ignore = true
[bans]
multiple-versions = "deny"
wildcards = "deny"
highlight = "all"
# rustls-only крипта: не даём тянуть OpenSSL в дерево зависимостей
deny = [
{ name = "openssl-sys", version = "*" },
{ name = "openssl", version = "*" },
]
# Дубли версий допустимы, когда их тянут несовместимые деревья зависимостей
# (redis/jsonwebtoken vs reqwest/axum). Каждая запись — конкретная пара версий.
skip = [
{ name = "base64", version = "0.22" },
{ name = "hashbrown", version = "0.14" },
{ name = "linux-raw-sys", version = "0.4" },
{ name = "num-bigint", version = "0.4" },
{ name = "rustix", version = "0.38" },
{ name = "syn", version = "2" },
{ name = "thiserror", version = "1" },
{ name = "thiserror-impl", version = "1" },
{ name = "tower-http", version = "0.6" },
]
skip-tree = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
[sources.allow-org]
github = []
gitlab = []
bitbucket = []