Skip to main content

rustauth_tokio_postgres/
lib.rs

1//! Minimal `tokio-postgres` database adapter for RustAuth.
2//!
3//! This crate is useful when the application already owns a single
4//! `tokio_postgres::Client` or wants the smallest async Postgres adapter.
5//! Production applications that need pooling should prefer
6//! `rustauth-deadpool-postgres`.
7
8mod adapter;
9mod connection;
10#[doc(hidden)]
11pub mod driver;
12mod errors;
13mod query;
14mod rate_limit;
15mod row;
16mod schema;
17mod stores;
18mod transaction;
19mod tx_guard;
20
21pub use self::adapter::TokioPostgresAdapter;
22pub use self::connection::TokioPostgresConnection;
23pub use self::rate_limit::TokioPostgresRateLimitStore;
24pub use self::stores::{TokioPostgresStores, TokioPostgresStoresBuilder};