feat(rust): difflib port + taxonomy data dump

- src/difflib.rs: faithful port of CPython difflib.SequenceMatcher
  (Ratcliff/Obershelp ratio incl. real_quick_ratio/quick_ratio and autojunk),
  validated against python-computed test vectors with exact float equality
- data/warhammer_data.json: taxonomy tables dumped from the python module
  (tools/dump_warhammer_data.py), parsed order-preserving in
  src/warhammer_data.rs (python dict insert-order + last-value-wins semantics)
- deps for the module ports: clap, reqwest, url, base64, regex, sha2, hex,
  sevenz-rust2, unrar, zip, indexmap, rand, rpassword
This commit is contained in:
2026-10-09 13:44:28 +02:00
parent 59a89fa06a
commit 519e7904dc
15 changed files with 3967 additions and 8 deletions
+13
View File
@@ -6,12 +6,25 @@ description = "Torrent-first platform for Warhammer proxy models: Discord channe
[dependencies]
anyhow = "1"
base64 = "0.22"
chrono = "0.4"
clap = { version = "4", features = ["derive"] }
dirs = "6"
env_logger = "0.11"
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"