pub struct DependencyAnalyzer { /* private fields */ }
Expand description
NEW: Compile-time dependency analyzer
This analyzer integrates with the decrust!
macro to provide real-time
dependency analysis, feature optimization, and compatibility checking.
Implementations§
Source§impl DependencyAnalyzer
impl DependencyAnalyzer
Sourcepub fn with_config(verbose: bool, check_latest: bool) -> Self
pub fn with_config(verbose: bool, check_latest: bool) -> Self
Creates a new dependency analyzer with custom settings
Sourcepub fn analyze_code_dependencies(
&mut self,
code: &str,
) -> Vec<DependencyAnalysisResult>
pub fn analyze_code_dependencies( &mut self, code: &str, ) -> Vec<DependencyAnalysisResult>
Analyzes dependencies used in the given code block
This method is called by the decrust!
macro to analyze
which crates and features are actually being used.
Trait Implementations§
Source§impl Clone for DependencyAnalyzer
impl Clone for DependencyAnalyzer
Source§fn clone(&self) -> DependencyAnalyzer
fn clone(&self) -> DependencyAnalyzer
Returns a copy 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 DependencyAnalyzer
impl Debug for DependencyAnalyzer
Auto Trait Implementations§
impl Freeze for DependencyAnalyzer
impl RefUnwindSafe for DependencyAnalyzer
impl Send for DependencyAnalyzer
impl Sync for DependencyAnalyzer
impl Unpin for DependencyAnalyzer
impl UnwindSafe for DependencyAnalyzer
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