Skip to main content

Crate rustauth_tokio_postgres

Crate rustauth_tokio_postgres 

Source
Expand description

Minimal tokio-postgres database adapter for RustAuth.

This crate is useful when the application already owns a single tokio_postgres::Client or wants the smallest async Postgres adapter. Production applications that need pooling should prefer rustauth-deadpool-postgres.

Structsยง

TokioPostgresAdapter
TokioPostgresConnection
Shared tokio-postgres client handle and transaction gate.
TokioPostgresRateLimitStore
TokioPostgresStores
Database adapter and matching SQL-backed rate-limit store sharing one client.
TokioPostgresStoresBuilder
Configures and connects a TokioPostgresStores bundle.