mod component;
mod config;
#[cfg_attr(docsrs, doc(cfg(feature = "postgres-migrate")))]
#[cfg(feature = "postgres-migrate")]
pub mod migration;
mod options;
#[cfg(feature = "testcontainers")]
mod test_container;
pub use ::sqlx::postgres::PgPool;
pub use component::{Postgres, PostgresAccessError, PostgresHealthError, PostgresRunError};
pub use config::{
Config, ConfigBuilder, ConfigBuilderError, DEFAULT_ACQUIRE_TIMEOUT, DEFAULT_IDLE_TIMEOUT,
DEFAULT_MAX_CONNECTIONS, DEFAULT_MAX_LIFETIME, DEFAULT_MIN_CONNECTIONS, Password,
};
#[cfg_attr(docsrs, doc(cfg(feature = "testcontainers")))]
#[cfg(feature = "testcontainers")]
pub use test_container::{PostgresContainer, PostgresContainerStartError};