refinery_core/
lib.rs

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