postgresql-schema-upgrader 0.1.2

A robust, safety-first library for managing PostgreSQL database schema migrations with both sync and async support.
Documentation
//! # PostgreSQL Schema Upgrader
//!
//! A library for managing PostgreSQL database schema migrations with safety and integrity in mind.
//! It supports both synchronous (blocking) and asynchronous (Tokio) execution modes.

#[cfg(feature = "tokio-postgres")]
mod async_upgrade;
#[cfg(feature = "postgres")]
mod blocking_upgrade;
mod db_tracker;
mod error;
mod integrity;
mod options;
mod schema_loader;
mod tls;
#[macro_use]
mod upgrade_macros;

pub use error::UpgraderError;
#[cfg(feature = "tls")]
pub use options::SslMode;
pub use options::{PostgresUpgraderOptions, PostgresUpgraderOptionsBuilder};

#[cfg(feature = "postgres")]
pub use blocking_upgrade::upgrade_blocking;

#[cfg(feature = "tokio-postgres")]
pub use async_upgrade::upgrade_async;