[relay] Calls: a long-poll on the fetch route, TURN credentials for coturn, wakes every 10 s; the module passes the TURN secret by systemd credential
This commit is contained in:
@@ -8,7 +8,7 @@ publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
tabellarius-protocol = { path = "../protocol" }
|
||||
axum = { version = "0.8", default-features = false, features = ["http1", "tokio", "json"] }
|
||||
axum = { version = "0.8", default-features = false, features = ["http1", "tokio", "json", "query"] }
|
||||
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"] }
|
||||
@@ -21,6 +21,10 @@ base64 = "0.22"
|
||||
# The wake (`.agents/features/wake-up.md` §2.2): the relay's only outgoing request. rustls with
|
||||
# Mozilla's roots built in; the resolver is the relay's own, which drops every non-global address.
|
||||
ureq = { version = "3", default-features = false, features = ["rustls"] }
|
||||
# TURN credentials for coturn's REST API (`.agents/features/calls-relay.md`): HMAC-SHA1 is what coturn checks.
|
||||
hmac = "0.12"
|
||||
sha1 = "0.10"
|
||||
getrandom = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
getrandom = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user