The indexer finishes files and releases by posting time instead of the range path: the frontier is the median Date of the last 1,024 plausible dates (within 7 days of it; a run of 1,024 agreeing dates moves it), and a release is finished, judged and written once the frontier is 24 h past its last part, flagged edge when posted within a day of the block's start. At the block's end the rest is written provisionally as edges for the block merger. Files short of parts stay in their release (partial: the store writes complete = false). Gone: fragments and the cut-off, uploads_of (online now), check.ts and the fixture comparison; CI replays the fixtures through edge-bench instead. The wire carries finished, edge and partial. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
35 lines
697 B
TOML
35 lines
697 B
TOML
[package]
|
|
name = "edge"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "The edge worker (edge-node) and its benchmark (edge-bench): voyager 3's window indexing in Rust"
|
|
|
|
[[bin]]
|
|
name = "edge-bench"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "edge-node"
|
|
path = "src/bin/edge-node.rs"
|
|
|
|
[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
|