This commit is contained in:
2026-05-26 23:22:32 +02:00
parent 842fca2b72
commit 730de334e0
17 changed files with 5380 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
[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"