Struct git_cliff_core::config::Bump
source · pub struct Bump {
pub features_always_bump_minor: Option<bool>,
pub breaking_always_bump_major: Option<bool>,
}
Expand description
Bump version configuration.
Fields§
§features_always_bump_minor: Option<bool>
Configures automatic minor version increments for feature changes.
When true
, a feature will always trigger a minor version update.
When false
, a feature will trigger:
- A patch version update if the major version is 0.
- A minor version update otherwise.
breaking_always_bump_major: Option<bool>
Configures 0 -> 1 major version increments for breaking changes.
When true
, a breaking change commit will always trigger a major
version update (including the transition from version 0 to 1)
When false
, a breaking change commit will trigger:
- A minor version update if the major version is 0.
- A major version update otherwise.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bump
impl<'de> Deserialize<'de> for Bump
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 Bump
impl RefUnwindSafe for Bump
impl Send for Bump
impl Sync for Bump
impl Unpin for Bump
impl UnwindSafe for Bump
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