- src/lib.rs: the indexing modules as a library, for edge-bench-rs and the coming edge-node worker. - Rules as a lease brings them (priorities, dropped signatures and tools, per-article parts, sample share, executables) instead of DEFAULT_RULES hard-coded; RangeIndexer takes them and a resume point. - Fragments carry everything the TypeScript Fragment has (poster, subject, groups, release): the server stores them for the merger. - wire.rs: a batch as toWire makes it (camelCase JSON, payloads in base64). edge-bench-rs --wire writes it; check.ts --wire compares it with toWire of the TypeScript batch: identical on models-a and ath-2013. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
608 B
TOML
27 lines
608 B
TOML
[package]
|
|
name = "edge-bench-rs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "The edge worker's indexing (lib/edge RangeIndexer) in Rust, to compare with edge:bench on captured ranges"
|
|
|
|
[dependencies]
|
|
base64 = "0.22"
|
|
chrono = "0.4"
|
|
flate2 = { version = "1", default-features = false, features = ["zlib-rs"] }
|
|
libdeflater = "1.26.1"
|
|
md-5 = "0.10"
|
|
memchr = "2.8.3"
|
|
mimalloc = "0.1.52"
|
|
regex = "1"
|
|
rustc-hash = "2"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.151"
|
|
sha1 = "0.10"
|
|
signal-hook = "0.4.5"
|
|
ureq = "3.4.2"
|
|
zstd = "0.13"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|