[package] name = "st-peter-client" version = "0.2.0" edition = "2021" description = "Official Rust client for st-peter (aura-users) — authentication over gRPC with a token-verify cache" repository = "https://git.awesomike.com/pub/st-peter-client" license = "MIT OR Apache-2.0" [lib] name = "st_peter_client" path = "src/lib.rs" [dependencies] # Async runtime. `sync` for the token-verify cache RwLock; nothing else. tokio = { version = "1", default-features = false, features = ["sync", "time"] } thiserror = "2" # gRPC client. tls-ring lets the client talk to a TLS-protected aura-users # without dragging in any server-side TLS termination code. tonic = { version = "0.14", features = ["codegen", "tls-ring"] } tonic-prost = "0.14" prost = "0.14" prost-types = "0.14" # `bearer()` header extraction (the same `http` major tonic uses). http = "1" [build-dependencies] # Compiles the vendored proto in ../proto into client stubs at build time. tonic-prost-build = "0.14"