Skip to main content

Module cargo_package

Module cargo_package 

Source
Expand description

What one Cargo package ships, read from cargo package --list.

release-plz attributes a commit to a package only where the commit changes a file this listing prints, for the changelog and for the decision to release alike. Two callers read the listing for that reason: the package-check setup step, which faults a crate that ships release-kit’s own files, and rk integrate, which warns when a message states release intent over a change the listing does not reach.

The module spawns nothing. Each caller passes its own cargo call, so the setup keeps its journaled executor and integrate keeps a plain process, while the shape of the answer and every match rule live here once.

Structs§

Answer
What one cargo call answered.
Listing
The paths one package ships, one per listed line.

Enums§

Probe
What reading the package’s file list found.

Constants§

POLICY_DESTINATION
The one landed file a crate must ship: the reporting policy.

Functions§

exclude_entries
The [package].exclude entries that stop a package shipping shipped.
probe
Read the file list of the sole default package rooted at root_manifest.
release_kit_paths
Every path release-kit lands or owns in a target that a package must not ship: the target configuration, the landing record, and every destination the record names, less the reporting policy.
sole_root_package
The manifest path of the one selected default package rooted at the target, or None for every other workspace shape.