Skip to main content

Crate crate_seq_ledger

Crate crate_seq_ledger 

Source
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§

CrateConfig
Identity and registry target for the crate.
CrateSeqLedger
Root structure of a .crate-seq.toml file.
LedgerAuth
Credentials configuration for registry authentication.
LedgerEntry
One version tracked by the ledger.
LedgerSettings
Behavioural knobs for the sequencer.

Enums§

Error
All errors that can occur in crate-seq-ledger operations.
LedgerStatus
Lifecycle state of a version entry.
VersionSource
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 pattern and parses the remainder as SemVer.
load
Reads a ledger from path, deserializing TOML into CrateSeqLedger.
save
Serializes ledger to TOML and writes it to path atomically.