Parallel module ports (behavior parity with the python versions): - src/discord.rs: DCE docker export (token via env only), base64/plain URL extraction with grab.sh-compatible regexes, host classification; 11 tests - src/gofile.rs: GoFile API client — one guest account per run, linear backoff on account creation, sha256 website token, recursive content walk, streaming .part downloads; 7 tests (offline goldens from python hashlib) - src/zero807.rs: curl downloader with UA+Referer contract, dead-link detection; 4 tests - src/extract.rs: recursive extraction (sevenz-rust2 for 7z, zip crate, unrar for rar, system tar/gzip/bzip2/xz for tarballs), nested BFS expansion, .broken quarantine, extract_manifest.jsonl, idempotent re-runs; 8 tests - src/catalogue.rs: keyword classifier over the dumped taxonomy, manifest/ directory scanning, overrides, md+jsonl reports, audited moves; 7 tests incl. all 17 python test cases
32 lines
750 B
TOML
32 lines
750 B
TOML
[package]
|
|
name = "dlphelper"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "Torrent-first platform for Warhammer proxy models: Discord channel export, link extraction, per-host downloaders, manifest — Rust rewrite of version-python."
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
chrono = "0.4"
|
|
clap = { version = "4", features = ["derive"] }
|
|
dirs = "6"
|
|
env_logger = "0.11"
|
|
fs4 = "0.13"
|
|
hex = "0.4"
|
|
indexmap = { version = "2", features = ["serde"] }
|
|
log = "0.4"
|
|
rand = "0.9"
|
|
regex = "1"
|
|
reqwest = { version = "0.12", features = ["blocking", "gzip", "json"] }
|
|
rpassword = "7"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
sevenz-rust2 = "0.23"
|
|
unrar = "0.5"
|
|
url = "2"
|
|
zip = "2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|