- auth_handshake.rs: connection-init protocol (magic 0x01, token, ack) - push.rs: PushBroker manages per-identity push connections with gc - server.rs: ConnectionState, auth handshake on first bi-stream, pass identity_key/session_token to RequestContext per stream - client.rs: session_token in RpcClientConfig, auto auth handshake on connect - middleware.rs: log_rpc_call with SHA-256 redaction, hex_prefix helper - lib.rs: export auth_handshake and push modules
27 lines
811 B
TOML
27 lines
811 B
TOML
[package]
|
|
name = "quicproquo-rpc"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "QUIC RPC framework for quicproquo v2 — framing, dispatch, tower middleware"
|
|
|
|
[dependencies]
|
|
quicproquo-proto = { path = "../quicproquo-proto" }
|
|
prost = { workspace = true }
|
|
bytes = { workspace = true }
|
|
quinn = { workspace = true }
|
|
rustls = { workspace = true }
|
|
rcgen = { workspace = true }
|
|
tokio = { workspace = true }
|
|
futures = { workspace = true }
|
|
tower = { workspace = true }
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
dashmap = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
|
|
[lints]
|
|
workspace = true
|