pub struct PackageConfig {
pub path: String,
pub independent: bool,
pub tag_prefix: Option<String>,
pub version_files: Vec<String>,
pub version_files_strict: bool,
pub stage_files: Vec<String>,
pub artifacts: Vec<String>,
pub changelog: Option<ChangelogConfig>,
pub hooks: Option<HooksConfig>,
}Expand description
A releasable package — version files, artifacts, build/publish hooks.
Fields§
§path: StringDirectory path relative to repo root.
independent: boolWhether this package versions independently in a monorepo.
tag_prefix: Option<String>Tag prefix override (default: derived from git.tag_prefix or “{dir}/v”).
version_files: Vec<String>Manifest files to bump.
version_files_strict: boolFail on unsupported version file formats.
stage_files: Vec<String>Additional files to stage in the release commit.
artifacts: Vec<String>Glob patterns for artifact files to upload to the release.
changelog: Option<ChangelogConfig>Changelog config override for this package.
hooks: Option<HooksConfig>Package-level lifecycle hooks.
Trait Implementations§
Source§impl Clone for PackageConfig
impl Clone for PackageConfig
Source§fn clone(&self) -> PackageConfig
fn clone(&self) -> PackageConfig
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 PackageConfig
impl Debug for PackageConfig
Source§impl Default for PackageConfig
impl Default for PackageConfig
Source§impl<'de> Deserialize<'de> for PackageConfigwhere
PackageConfig: Default,
impl<'de> Deserialize<'de> for PackageConfigwhere
PackageConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PackageConfig
impl RefUnwindSafe for PackageConfig
impl Send for PackageConfig
impl Sync for PackageConfig
impl Unpin for PackageConfig
impl UnsafeUnpin for PackageConfig
impl UnwindSafe for PackageConfig
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