grow-oidc (Rust)
Rust SDK for OIDC by Grow Codes. Async on tokio, with an optional blocking client.
[]
= "0.1.0"
# blocking client: features = ["blocking"]
# test fakes/runner: features = ["testing"] (dev-dependency)
use ;
async
- Errors: one
Errorenum withcode(),http_status(),request_id(),is_retryable(),retry_after(); messages never contain credentials. - Retries with full-jitter backoff and
Retry-After, connect/request/total timeouts, cancellation (drop the future or pass aCancellationToken), request hooks,tracingdebug events. - MSRV 1.88. Licence Apache-2.0. Documentation: https://grow-codes-packages.github.io/oidc/
Development: make deps build lint test coverage license pack docs (see Makefile).
make lint also runs cargo clippy --lib --no-default-features: code that needs an optional
feature (for example tonic TLS types behind otlp-tls) must sit behind
#[cfg(feature = "...")].