pub struct ReleasePlan {
pub current_version: Option<Version>,
pub next_version: Version,
pub bump: BumpLevel,
pub commits: Vec<ConventionalCommit>,
pub tag_name: String,
pub floating_tag_name: Option<String>,
pub prerelease: bool,
pub packages: Vec<PackagePlan>,
}Expand description
The computed plan for a release, before execution.
One version, one tag, one release event. All packages in packages get
their version files bumped to the same next_version. The per-package
commits slice is path-partitioned for readable changelog sections only —
the global bump decision does not depend on paths.
Fields§
§current_version: Option<Version>§next_version: Version§bump: BumpLevel§commits: Vec<ConventionalCommit>§tag_name: String§floating_tag_name: Option<String>§prerelease: bool§packages: Vec<PackagePlan>Per-package breakdown (stable order = config.packages). Used by
stages that iterate packages (Bump, Build, UploadManifest) and by the
changelog formatter for optional per-package sectioning.
Trait Implementations§
Source§impl Debug for ReleasePlan
impl Debug for ReleasePlan
Auto Trait Implementations§
impl Freeze for ReleasePlan
impl RefUnwindSafe for ReleasePlan
impl Send for ReleasePlan
impl Sync for ReleasePlan
impl Unpin for ReleasePlan
impl UnsafeUnpin for ReleasePlan
impl UnwindSafe for ReleasePlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more