[relay] F20: axum + SQLite relay storing exactly PROTOCOL.md section 5, tokens as hashes, no request log

This commit is contained in:
2026-11-11 21:11:31 +01:00
parent 51158216ca
commit 1e7bc8e328
6 changed files with 1350 additions and 8 deletions
+13
View File
@@ -8,6 +8,19 @@ publish.workspace = true
[dependencies]
tabellarius-protocol = { path = "../protocol" }
axum = { version = "0.8", default-features = false, features = ["http1", "tokio", "json"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "time", "signal"] }
# Plain SQLite: the relay holds only ciphertext and hashes; nothing in it is readable (PROTOCOL.md §5).
rusqlite = { version = "0.41", features = ["bundled"] }
serde = "1"
serde_json = "1"
subtle = "2"
[dev-dependencies]
getrandom = "0.3"
http-body-util = "0.1"
tempfile = "3"
tower = { version = "0.5", features = ["util"] }
[lints]
workspace = true