footing 0.1.0

Feature-gated foundations for Rust backend services
Documentation
//! Database helpers.
//!
//! Currently this module exposes PostgreSQL pool and startup bootstrap helpers
//! built on SQLx.
//!
pub mod postgres;

pub use postgres::{
    MigrationFailureKind, PostgresBootstrapConfig, PostgresBootstrapError,
    PostgresBootstrapSettings, PostgresDiagnostic, PostgresDiagnosticKind, PostgresHealth,
    PostgresHealthStatus, PostgresMigrationRunError, PostgresOperation, PostgresPoolConfig,
    PostgresPoolError, PostgresPoolSettings, PostgresResetConfig, PostgresResetError,
    PostgresResetOutcome, PostgresStartupRetryConfig, PostgresStartupRetrySettings,
    PostgresTransaction, acquire_advisory_transaction_lock,
    acquire_shared_advisory_transaction_lock, advisory_lock_key, begin_transaction,
    bootstrap_database, check_pool_health, commit_transaction, connect_lazy_pool, connect_pool,
    connect_pool_with_retry, database_name, diagnose_migration_error, diagnose_pool_error,
    diagnose_sqlx_error, ensure_database_exists, ensure_database_exists_with_retry, ping_pool,
    pool_options, redact_database_url, reset_database, rollback_transaction, run_migrations,
    run_migrations_with_advisory_lock, try_acquire_advisory_transaction_lock,
};