pub struct RustParser;Expand description
Parses Rust dependencies from Cargo.toml
Implementations§
Source§impl RustParser
impl RustParser
Sourcepub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
pub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
Parses dependencies from Cargo.toml
Sourcepub fn has_manifest(&self, root: &Path) -> bool
pub fn has_manifest(&self, root: &Path) -> bool
Checks if Cargo.toml exists
Trait Implementations§
Source§impl Debug for RustParser
impl Debug for RustParser
Auto Trait Implementations§
impl Freeze for RustParser
impl RefUnwindSafe for RustParser
impl Send for RustParser
impl Sync for RustParser
impl Unpin for RustParser
impl UnwindSafe for RustParser
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