axum-postgres-tx 0.3.0

Request-scoped PostgreSQL transactions for axum
Documentation
1
2
3
4
5
6
7
8
9
//! Pool type re-exports.
//!
//! This module re-exports the appropriate pool type based on the enabled feature.

#[cfg(feature = "bb8")]
pub use bb8_postgres::bb8::Pool;

#[cfg(feature = "deadpool")]
pub use deadpool_postgres::Pool;