pub struct GitConfig {
pub tag_prefix: String,
pub floating_tag: bool,
pub sign_tags: bool,
pub v0_protection: bool,
}Expand description
Git-level settings — tags and signing.
Fields§
§tag_prefix: StringPrefix for git tags (e.g. “v” → “v1.2.0”).
floating_tag: boolCreate floating major version tags (e.g. “v3” → latest v3.x.x).
Sign tags with GPG/SSH.
v0_protection: boolPrevent breaking changes from bumping 0.x.y to 1.0.0. When true, major bumps at v0 are downshifted to minor.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitConfig
impl<'de> Deserialize<'de> for GitConfig
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 GitConfig
impl RefUnwindSafe for GitConfig
impl Send for GitConfig
impl Sync for GitConfig
impl Unpin for GitConfig
impl UnsafeUnpin for GitConfig
impl UnwindSafe for GitConfig
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