1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# The server-side host for atlibs wasm modules, a library in the rust/ workspace. No
# transport is in it: those are crates on its seam (src/transport.rs: atlibs-iroh), wired by the CLI (rust/cli).
[package]
name = "atlibs-host"
version = "0.1.0"
edition = "2024"
publish = false
[dependencies]
aes-gcm = "0.10"
# atproto-crates (the rev the root workspace pins): OAuth's PKCE, state, DPoP proofs, client assertions,
# keys and authorization-server checks for server sessions (src/sessions.rs). Lean: no resolver, no LRU.
atproto-identity = { git = "https://tangled.org/ngerakines.me/atproto-crates", rev = "c4564e941675d2566c65ecf26b9698aae5229768", default-features = false }
atproto-oauth = { git = "https://tangled.org/ngerakines.me/atproto-crates", rev = "c4564e941675d2566c65ecf26b9698aae5229768", default-features = false }
base64 = "0.22"
serde = "1"
# http/hyper/hyper-util/http-body-util are already in the tree via reqwest: the server side of
# ClientMetadataHandler and `atlibs serve`.
http = "1"
http-body-util = "0.1"
hyper = { version = "1", features = ["server", "http1"] }
hyper-util = { version = "0.1", features = ["tokio"] }
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
k256 = { version = "0.13", features = ["ecdsa"] }
p256 = { version = "0.13", features = ["ecdsa", "jwk"] }
rand_core = { version = "0.6", features = ["getrandom"] }
# Named only to choose the process's crypto provider (lib.rs tls()): already in the tree via reqwest.
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
rusqlite = { version = "0.40", features = ["bundled"] }
serde_json = { version = "1", features = ["preserve_order"] }
sha2 = "0.10"
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = { version = "0.27", features = ["rustls-tls-webpki-roots"] }
webpki-roots = "0.26" # already in the tree via tokio-tungstenite; ws.rs extra_ca (ATLIBS_EXTRA_CA, tests)
url = "2" # already in the tree via reqwest; host checks in pdsOf
wasmtime = { version = "38", default-features = false, features = ["cranelift", "runtime", "std", "cache"] }
[dev-dependencies]
tokio-rustls = { version = "0.26", default-features = false } # already in the tree via tokio-tungstenite: tests/wss.rs's TLS server