1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
pub mod config; mod drivers; pub mod error; mod runner; mod traits; mod util; pub use crate::error::Error; pub use crate::runner::{Migration, Report, Runner, Target}; pub use crate::traits::r#async::AsyncMigrate; pub use crate::traits::sync::Migrate; pub use crate::util::{find_migration_files, MigrationType}; #[cfg(feature = "rusqlite")] pub use rusqlite; #[cfg(feature = "postgres")] pub use postgres; #[cfg(feature = "mysql")] pub use mysql; #[cfg(feature = "tokio-postgres")] pub use tokio_postgres; #[cfg(feature = "mysql_async")] pub use mysql_async; #[cfg(feature = "tokio")] pub use tokio;