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
This commit is contained in:
Loki 2026-10-26 11:17:48 +01:00
parent b5238cf4c1
commit be80204505
Signed by: boba
GPG key ID: 6CDE87BC9A778D97
4 changed files with 395 additions and 6 deletions

View file

@ -21,6 +21,7 @@ allow = [
"ISC",
"Unicode-3.0",
"Zlib",
"BSL-1.0",
"Unlicense",
"CC0-1.0",
"CDLA-Permissive-2.0",
@ -43,12 +44,18 @@ 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 = "socket2", version = "0.5" },
{ 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 = []