#![warn(missing_docs)]
pub mod author;
pub mod backfill;
pub mod checksum;
pub mod error;
pub mod executor;
pub mod graph;
pub mod loader;
pub mod plan;
pub mod recovery;
pub mod spec;
pub mod state;
#[cfg(test)]
pub(crate) mod testing;
pub use author::map_schema_diff;
pub use backfill::{BackfillResult, execute_backfill};
pub use checksum::{
ChecksumDrift, check_checksum_drift, checksum_drift_errors, migration_file_checksum,
};
pub use error::{MigrationError, Result};
pub use executor::{MigrationResult, execute_migration, execute_plan, execute_plan_with_run_log};
pub use graph::{AppliedMigrationRecord, MigrationValidationError, ValidationCode, validate_graph};
pub use loader::{load_dir, load_dir_checked, load_sidecar};
pub use plan::{
ExecutionPlan, ExecutionStep, MigrationAction, MigrationExecution, OperationKind, StepKind,
plan,
};
pub use recovery::{
CheckedExecutionPlan, CheckedExecutionStep, CheckedMigrationExecution,
CheckedMigrationIdentity, ExecutionStepId, PendingProof, RecoveryExecutionResult,
RecoveryFuture, RecoveryMigrationResult, RecoveryMigrationStatus, RecoveryPlanStatus,
StepExecutionOutcome, StepExecutionResult, StepRecoveryController, StepRecoveryDecision,
StepRecoveryEvent, StepRecoveryEventKind, execute_recovery_plan, plan_recovery,
prepare_recovery_plan,
};
pub use spec::{MigrationDependencySpec, MigrationGraph, MigrationSpec, OperationSpec};
pub use state::{
InMemoryStateStore, MigrationExecutorInfo, MigrationRunRecord, MigrationStateSchemaKind,
MigrationStateStore, TypeDbStateStore, applied_migration_entity_label, collect_executor_info,
finished_run_record, is_migration_state_type, migration_state_schema, migration_timestamp_now,
started_run_record,
};