pub struct CrateSplitConfig {
pub remote: String,
pub branch: String,
pub mode: SplitMode,
pub workspace_mode: WorkspaceMode,
pub paths: Vec<CratePath>,
pub include: Vec<String>,
pub exclude: Vec<String>,
}Expand description
Split configuration for a crate (under [crates.X.split])
Fields§
§remote: StringRemote repository URL or local path
branch: StringGit branch to use
mode: SplitModeSplit mode (single or combined)
workspace_mode: WorkspaceModeFor combined mode: how to structure the split repo
paths: Vec<CratePath>Crate paths to include in the split
include: Vec<String>Additional files/directories to include
exclude: Vec<String>Files/directories to exclude
Trait Implementations§
Source§impl Clone for CrateSplitConfig
impl Clone for CrateSplitConfig
Source§fn clone(&self) -> CrateSplitConfig
fn clone(&self) -> CrateSplitConfig
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 CrateSplitConfig
impl Debug for CrateSplitConfig
Source§impl<'de> Deserialize<'de> for CrateSplitConfig
impl<'de> Deserialize<'de> for CrateSplitConfig
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 CrateSplitConfig
impl RefUnwindSafe for CrateSplitConfig
impl Send for CrateSplitConfig
impl Sync for CrateSplitConfig
impl Unpin for CrateSplitConfig
impl UnsafeUnpin for CrateSplitConfig
impl UnwindSafe for CrateSplitConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more