springtime_migrate_refinery/
lib.rs

1//! SQL migration framework based on [refinery](https://crates.io/crates/refinery) and
2//! [Springtime](https://crates.io/crates/springtime).
3//!
4//! `refinery` is powerful SQL migration toolkit for Rust, which makes creating migrations easy.
5//! This crate integrates `refinery` with the broader *Springtime Framework* allowing for providing
6//! database clients and migrations via dependency injection, which further eases creating and
7//! applying migrations, either from files or Rust code.
8//!
9//! The crate defines an [application runner](springtime::runner::ApplicationRunner) with a priority
10//! of 100, which runs migrations on application start, by default.
11//!
12//! ### Features
13//!
14//! * `refinery` async db features: `mysql_async`, `rusqlite-bundled`, `tiberius`,
15//! `tiberius-config`, `tokio-postgres`
16
17pub mod config;
18pub mod migration;
19pub mod runner;
20
21pub use refinery_core as refinery;