Skip to main content

crate_seq_ledger/
lib.rs

1//! `.crate-seq.toml` ledger: schema, TOML I/O, `SemVer` ordering, state machine.
2//!
3//! Each crate in a workspace owns exactly one ledger alongside its `Cargo.toml`.
4//! The ledger is the single source of truth for which versions are pending,
5//! published, skipped, or yanked.
6
7#![deny(clippy::all)]
8#![warn(clippy::pedantic)]
9#![deny(missing_docs)]
10
11mod config;
12mod error;
13mod io;
14mod query;
15mod state;
16mod tag;
17mod types;
18
19#[cfg(test)]
20mod tests;
21
22pub use config::{CrateConfig, CrateSeqLedger, LedgerAuth, LedgerSettings};
23pub use error::Error;
24pub use io::{load, save};
25pub use tag::{detect_tag_pattern, extract_semver_from_tag};
26pub use types::{LedgerEntry, LedgerStatus, VersionSource};