rustyroad 1.7.3

Rusty Road is a framework written in Rust that is based on Ruby on Rails. It is designed to provide the familiar conventions and ease of use of Ruby on Rails, while also taking advantage of the performance and efficiency of Rust.
Documentation
//! Idempotency ledger for recorded migrations.
//!
//! RustyRoad records migrations it executes or baselines in the
//! `_rustyroad_migrations` table. This module owns that table end to end: creating
//! it ([`schema`]), deciding a migration's identity ([`identity`]), reading current
//! ledger state ([`state`]), and recording provenance plus checksums ([`record`]).
//!
//! Reading the ledger before executing is what makes `rustyroad migration all`
//! idempotent. Without it, every migration on disk is re-executed on each run,
//! which fails on any long-lived database where later migrations supersede earlier
//! ones.

mod checksum;
mod dialect;
mod exec;
mod identity;
mod record;
mod repair;
mod schema;
mod sql;
mod state;

/// Direction recorded for a migration with an up ledger row.
const DIRECTION_UP: &str = "up";
/// Direction recorded for a migration that has been rolled back.
const DIRECTION_DOWN: &str = "down";

pub use checksum::file_checksum;
pub use identity::{
    display_name, identities_match, latest_record, latest_status, ledger_id_for_dir, LedgerRecord,
};
pub use record::{direction_label, record, record_with_metadata, Provenance};
pub use repair::{repair, RepairReport};
pub use schema::{ensure_table, LEDGER_TABLE};
pub use state::{is_applied, should_skip};