ipx ran a BitTorrent session of its own: it bound 6881, joined the DHT and seeded, and librqbit brought over a thousand lines of Cargo.lock with it, ringbuf's advisory (#281) and a second path to chrono (#493) among them. Tower already runs qBittorrent, so torrents go there through its Web API. ipx still fetches the .torrent itself, through the guarded client and under the 10 MB cap (#320, #330), and adds it with the enclosure's own folder as the save path (#318, #331), the files straight into it (NoSubfolder), the seed limits, and a tag ipx-<enclosure> to find it by, since a magnet has no hash until its metadata comes. A torrent already tagged when ipx starts again is taken up where qBittorrent has it (#410). It is polled to the end under the stall limit; a qBittorrent not answering counts as no progress rather than a failure. qBittorrent seeds to the limits; with none, ipx removes the torrent from it at the end, files kept. The session cookie is whatever qBittorrent sets with SID in its name: 5.x calls it QBT_SID_<port>. torrents/info by POST with a tag was checked against Tower's 5.2.3. The ringbuf ignore leaves deny.toml; chrono's stays, for rss and atom_syndication alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVBuJRne2JAhFpaDV2U
35 lines
1.3 KiB
TOML
35 lines
1.3 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 = [
|
|
# chrono is unmaintained, every version, and no vulnerability is known. rss and atom_syndication
|
|
# 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 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"
|