athena_rs 3.4.7

Database driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Deadpool experimental feature - alternative Postgres connection pooling.
//!
//! # Structure
//! - `mod.rs` - Feature-facing re-exports for deadpool-backed registry
//!
//! # Usage
//! When enabled, uses `deadpool-postgres` instead of `sqlx` for connection pooling.
//! This is experimental and offers different performance characteristics and error
//! recovery patterns compared to the default sqlx-based pooling
//! (implementation in `src/drivers/postgresql/deadpool_registry.rs`).
//!
//! # Note
//! When this feature is disabled, builds use sqlx pooling exclusively.

pub use crate::drivers::postgresql::deadpool_registry::{
    DeadpoolPostgresRegistry, DeadpoolRegisteredClient,
};