[package] name = "urus-server" version = "0.1.0" edition = "2021" rust-version = "1.95" [dependencies] # Path deps point at the user's local checkouts; adjust if your tree # differs. urus's own Cargo.toml has `smarm = { path = "../smarm" }`, so # cargo resolves smarm transitively as long as it's a sibling of urus. urus = { path = "../../urus" } smarm = { path = "../../smarm" } serde = { version = "1", features = ["derive"] } serde_json = "1" # Constant-time compare for the bearer-token check. Tiny dep, no transitive # bloat, and the right thing to use. subtle = "2" # In-memory ring buffer for the logger plug. Bounded MPSC over a fixed # array — no allocation on the hot path. crossbeam-queue = "0.3" # Embedded SQLite. The `bundled` feature compiles SQLite from source so we # don't depend on the system library — important for reproducibility on # build hosts that may or may not have libsqlite3-dev. rusqlite = { version = "0.32", features = ["bundled"] } # Tiny argv parser so we don't pull in clap for a 3-flag CLI. # We hand-roll it instead. No dep here. [[bin]] name = "urus-server" path = "src/main.rs"