//! Prevent resolved versions in `Cargo.lock` from regressing below a
//! committed baseline that only ratchets up.
//!
//! The binary (`cargo ratchet`) is a thin wrapper over this library. Embed
//! the library when you want the same check inside another tool:
//!
//! - [`compute_violations`] is the pure comparison: two parsed lockfiles in,
//! violations out.
//! - [`check_and_advance`] adds the file orchestration: compare, and copy the
//! lockfile over the baseline on a passing check.
//! - [`check_fail_on_change`] is the read-only CI variant: pass only when the
//! baseline is byte-identical to the lockfile.
pub use check_and_advance;
pub use check_fail_on_change;
pub use compute_violations;
pub use RatchetPaths;
pub use Violation;