pub struct WorkspaceScanner { /* private fields */ }Expand description
Scans the workspace for Cargo.toml files.
Implementations§
Source§impl WorkspaceScanner
impl WorkspaceScanner
Sourcepub fn find_manifests(&self) -> Result<Vec<CargoManifest>>
pub fn find_manifests(&self) -> Result<Vec<CargoManifest>>
Find all Cargo.toml files in the workspace, excluding target/ and .git/ directories.
Sourcepub fn find_embeddenator_packages(&self) -> Result<Vec<CargoManifest>>
pub fn find_embeddenator_packages(&self) -> Result<Vec<CargoManifest>>
Find all embeddenator-* package manifests (excluding nested crates).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkspaceScanner
impl RefUnwindSafe for WorkspaceScanner
impl Send for WorkspaceScanner
impl Sync for WorkspaceScanner
impl Unpin for WorkspaceScanner
impl UnwindSafe for WorkspaceScanner
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