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
- Load workspace metadata from the given
Cargo.toml. - Filter crates based on their
publishfield and the target registry. - Optionally narrow the set to user-selected packages (plus transitive deps).
- 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§
- Planned
Workspace - The output of
shipper::plan::build_plan: a publish plan plus context. - Skipped
Package - A workspace package that was excluded from the publish plan.
Functions§
- build_
plan - Build a deterministic publish plan from a
ReleaseSpec.