Skip to main content

Module plan

Module plan 

Source
Expand description

Workspace analysis and topological plan generation.

§Plan

Workspace analysis and deterministic publish-plan generation.

This crate reads workspace metadata via cargo_metadata, filters publishable crates, and produces a topologically-sorted ReleasePlan that guarantees dependencies are published before their dependents.

§Workflow

  1. Load workspace metadata from the given Cargo.toml.
  2. Filter crates based on their publish field and the target registry.
  3. Optionally narrow the set to user-selected packages (plus transitive deps).
  4. Topologically sort the remaining crates and compute a stable plan ID.

The resulting PlannedWorkspace is the input to preflight and publish operations in the engine crate.

Structs§

PlannedWorkspace
The output of shipper::plan::build_plan: a publish plan plus context.
SkippedPackage
A workspace package that was excluded from the publish plan.

Functions§

build_plan
Build a deterministic publish plan from a ReleaseSpec.