pub struct Config {
pub quality: bool,
pub hooks: bool,
pub arch: Option<String>,
pub force: bool,
pub yes: bool,
}Expand description
Configuration for cargo-setupx
Fields§
§quality: boolEnable quality pack (rustfmt.toml, clippy.toml, _typos.toml, Makefile)
hooks: boolEnable hooks pack (.githooks)
arch: Option<String>Architecture pack name (e.g., “clean”)
force: boolForce overwrite existing files
yes: boolSkip confirmation prompts
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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