Files
ipx/deny.toml
rays 2c8b4d925e SQLite past RUSTSEC-2026-0459 with sqlx 0.9.1, and url 2.5.9 (#467, #492, #493)
sqlx-sqlite 0.9.1 (2026-11-18) takes libsqlite3-sys up to 0.40, where
0.9.0 pinned it below 0.38, so the SQLite fix #467 waited on is in:
libsqlite3-sys 0.37.0 -> 0.40.0, and its ignore leaves deny.toml.

cargo deny then failed on two advisories published since:
RUSTSEC-2026-0592, url 2.5.8's Url::origin() overflowing the stack on a
URL nested in blob: thousands of times, fixed in 2.5.9 (#492); and
RUSTSEC-2026-0543, chrono unmaintained, no fixed release and no known
vulnerability. rss, atom_syndication and librqbit-dht depend on chrono,
so ipx's own uses moving off it would not take it out of Cargo.lock: it
is recorded in deny.toml as assessed and #493 stays open for when they do.

All six crates' tests pass, ipx's on Postgres and on SQLite, and the
browser suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVBuJRne2JAhFpaDV2U
2026-11-22 12:36:18 -05:00

38 lines
1.6 KiB
TOML

# cargo deny check: known vulnerabilities, licences and where crates come from. Run before a push
# (CLAUDE.md, Tests). It reads Cargo.lock and the RustSec database, and builds nothing.
[graph]
# Production runs on Linux; Windows and macOS-only crates are not ipx's concern.
targets = ["x86_64-unknown-linux-gnu"]
[advisories]
ignore = [
# ringbuf 0.4's double free needs an element whose Drop panics; librqbit-utp's buffer holds
# only u8, which has no Drop. Its fix is ringbuf 0.5, which librqbit 9.0.1 cannot take (#281).
{ id = "RUSTSEC-2026-0293", reason = "librqbit-utp's ring buffer holds u8: no Drop to panic" },
# chrono is unmaintained, every version, and no vulnerability is known. rss, atom_syndication and
# librqbit-dht depend on it, so ipx's own code moving off it would not take it out (#493).
{ id = "RUSTSEC-2026-0543", reason = "unmaintained, not vulnerable; the feed parsers and librqbit depend on it (#493)" },
]
[licenses]
# Permissive licences only; anything else is a question for the owner before it comes in.
allow = [
"MIT", "MIT-0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause",
"ISC", "Zlib", "Unlicense", "0BSD", "CC0-1.0", "BSL-1.0", "Unicode-3.0", "MPL-2.0",
"CDLA-Permissive-2.0",
]
# ipx's own crates have no licence field and are not published.
private = { ignore = true }
[bans]
# Two versions of one crate (syn 1 and 2, and 25 more) only cost build time, and a warning for
# each on every run would be read by nobody.
multiple-versions = "allow"
wildcards = "deny"
allow-wildcard-paths = true
[sources]
unknown-registry = "deny"
unknown-git = "deny"