migrate-core 0.1.0

Core programmatic API of for managing the migrations and migration state.
Documentation

The core crate that exposes APIs designed for full programmatic configuration of migrations. See migrate crate if you need a CLI wrapper instead.

The crate is built on top of [migrate_state] and the ideas outlined there.

The main entities here are the [Migration] trait and the [Plan] structure that is used to manage the [Migration]s that should be executed. The migrations may also be run in different modes ([MigrationRunMode]) that allows for running them for real or for debugging (a.k.a dry-run).

See the docs for [Plan] to continue learning the API of this crate.