drizzle-cli 0.3.0

Command-line interface for drizzle-rs migrations
Documentation
#![cfg(any(
    feature = "rusqlite",
    feature = "postgres-sync",
    feature = "tokio-postgres",
    feature = "mysql-sync",
    feature = "mysql-async",
))]

mod parity;

#[cfg(feature = "rusqlite")]
mod sqlite {
    use super::parity::Sqlite;

    crate::parity::shared_dialect_contract!(Sqlite);
    crate::parity::shared_live_driver_contract!(Sqlite);
    crate::parity::shared_non_postgres_contract!(Sqlite);
}

#[cfg(feature = "postgres-sync")]
mod postgres_dialect {
    use super::parity::PostgresSync;

    crate::parity::shared_dialect_contract!(PostgresSync);
}

#[cfg(all(not(feature = "postgres-sync"), feature = "tokio-postgres"))]
mod postgres_dialect {
    use super::parity::PostgresAsync;

    crate::parity::shared_dialect_contract!(PostgresAsync);
}

#[cfg(feature = "postgres-sync")]
mod postgres_sync {
    use super::parity::PostgresSync;

    crate::parity::shared_live_driver_contract!(PostgresSync);
}

#[cfg(feature = "tokio-postgres")]
mod postgres_async {
    use super::parity::PostgresAsync;

    crate::parity::shared_live_driver_contract!(PostgresAsync);
}

#[cfg(feature = "mysql-sync")]
mod mysql_dialect {
    use super::parity::MySqlSync;

    crate::parity::shared_dialect_contract!(MySqlSync);
    crate::parity::shared_non_postgres_contract!(MySqlSync);
}

#[cfg(all(not(feature = "mysql-sync"), feature = "mysql-async"))]
mod mysql_dialect {
    use super::parity::MySqlAsync;

    crate::parity::shared_dialect_contract!(MySqlAsync);
    crate::parity::shared_non_postgres_contract!(MySqlAsync);
}

#[cfg(feature = "mysql-sync")]
mod mysql_sync {
    use super::parity::MySqlSync;

    crate::parity::shared_live_driver_contract!(MySqlSync);
}

#[cfg(feature = "mysql-async")]
mod mysql_async {
    use super::parity::MySqlAsync;

    crate::parity::shared_live_driver_contract!(MySqlAsync);
}

#[cfg(any(feature = "mysql-sync", feature = "mysql-async"))]
#[path = "parity/mysql_specific.rs"]
mod mysql_specific;