Expand description
Orchestration layer for the crate-seq publish pipeline.
Coordinates ledger state, git tag discovery, registry queries, manifest rewriting, and snapshot extraction into a single resumable pipeline.
Structs§
- Check
Report - Report from diffing the local ledger against the live crates.io state.
- DryRun
Report - Result of the dry-run for all pending versions.
- DryRun
Version Result - Result of a dry-run for a single version.
- Init
Config - Configuration for the
initcommand. - Init
Result - Result of initialising one crate’s ledger.
- Orphaned
Entry - Orphaned entry: a
Pendingledger entry whose backing ref is absent. - Publish
Report - Report from a live publish run.
- Publish
Version Result - Result of publishing a single version.
- Snapshot
Config - Configuration for the
crate-seq snapshotcommand. - TagConfig
- Configuration for
crate-seq tag. - Workspace
Member - A single member crate discovered from a workspace
Cargo.toml.
Enums§
- DryRun
Outcome - Outcome of a dry-run for a single version.
- Error
- All errors that can occur in crate-seq-core operations.
- Token
Error - Errors that can occur during token resolution.
- Version
Publish Outcome - Outcome of publishing a single version.
Functions§
- check_
crate - Diffs the ledger at
ledger_pathagainst the live crates.io registry. - create_
tag - Creates an annotated git tag and a ledger entry atomically (ledger-first).
- discover_
members - Discovers workspace members from a root
Cargo.toml. - init
- Initialises per-crate ledgers for the given workspace.
- publish_
dry_ run - Dry-run: resolve each pending version, rewrite
Cargo.toml, runcargo package. - publish_
execute - Live publish: for each pending version, check idempotency, checkout, rewrite, package, publish, update ledger.
- require_
token - Resolves the token for publishing, failing fast with setup instructions if none found.
- resolve_
token - Attempts to resolve a crates.io API token from three sources in priority order.
- snapshot_
version - Captures a snapshot of
src_dirand adds aPendingledger entry.