pub struct PackagePlan {
pub path: String,
pub version_files: Vec<String>,
pub artifacts: Vec<String>,
pub commits: Vec<ConventionalCommit>,
}Expand description
A per-package slice of a release plan. Every package in config.packages
produces one PackagePlan, even if no commits touched its path.
Fields§
§path: String§version_files: Vec<String>Manifest files to bump (resolved via Config::version_files_for).
artifacts: Vec<String>Artifact glob patterns declared for this package.
commits: Vec<ConventionalCommit>Commits whose files fall under this package’s path (for changelog
sectioning). Empty for the root package (path == ".") when more than
one package is configured, to avoid double-counting.
Trait Implementations§
Source§impl Clone for PackagePlan
impl Clone for PackagePlan
Source§fn clone(&self) -> PackagePlan
fn clone(&self) -> PackagePlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackagePlan
impl Debug for PackagePlan
Auto Trait Implementations§
impl Freeze for PackagePlan
impl RefUnwindSafe for PackagePlan
impl Send for PackagePlan
impl Sync for PackagePlan
impl Unpin for PackagePlan
impl UnsafeUnpin for PackagePlan
impl UnwindSafe for PackagePlan
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