Expand description
.crate-seq.toml ledger: schema, TOML I/O, SemVer ordering, state machine.
Each crate in a workspace owns exactly one ledger alongside its Cargo.toml.
The ledger is the single source of truth for which versions are pending,
published, skipped, or yanked.
Structs§
- Crate
Config - Identity and registry target for the crate.
- Crate
SeqLedger - Root structure of a
.crate-seq.tomlfile. - Ledger
Auth - Credentials configuration for registry authentication.
- Ledger
Entry - One version tracked by the ledger.
- Ledger
Settings - Behavioural knobs for the sequencer.
Enums§
- Error
- All errors that can occur in crate-seq-ledger operations.
- Ledger
Status - Lifecycle state of a version entry.
- Version
Source - Identifies the origin of a version entry.
Functions§
- detect_
tag_ pattern - Returns the default glob pattern for tagging.
- extract_
semver_ from_ tag - Strips the tag prefix determined by
patternand parses the remainder asSemVer. - load
- Reads a ledger from
path, deserializing TOML intoCrateSeqLedger. - save
- Serializes
ledgerto TOML and writes it topathatomically.