pub struct Config {
pub verify: bool,
pub rustfmt: bool,
pub dry_run: bool,
pub min_groups: usize,
}Expand description
User-facing configuration for a split run.
Fields§
§verify: boolRun cargo check after splitting and roll back if it fails.
rustfmt: boolRun rustfmt on generated/changed files when available.
dry_run: boolPrint the plan but do not touch the filesystem.
min_groups: usizeIn recursive mode, only split files that would yield at least this many module files.
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 UnsafeUnpin 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