Skip to main content

Crate crate_seq_core

Crate crate_seq_core 

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

CheckReport
Report from diffing the local ledger against the live crates.io state.
DryRunReport
Result of the dry-run for all pending versions.
DryRunVersionResult
Result of a dry-run for a single version.
InitConfig
Configuration for the init command.
InitResult
Result of initialising one crate’s ledger.
OrphanedEntry
Orphaned entry: a Pending ledger entry whose backing ref is absent.
PublishReport
Report from a live publish run.
PublishVersionResult
Result of publishing a single version.
SnapshotConfig
Configuration for the crate-seq snapshot command.
TagConfig
Configuration for crate-seq tag.
WorkspaceMember
A single member crate discovered from a workspace Cargo.toml.

Enums§

DryRunOutcome
Outcome of a dry-run for a single version.
Error
All errors that can occur in crate-seq-core operations.
TokenError
Errors that can occur during token resolution.
VersionPublishOutcome
Outcome of publishing a single version.

Functions§

check_crate
Diffs the ledger at ledger_path against 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, run cargo 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_dir and adds a Pending ledger entry.