pub struct DependencyAnalysisResult {
pub crate_name: String,
pub current_version: String,
pub enabled_features: Vec<String>,
pub used_features: Vec<String>,
pub unused_features: Vec<String>,
pub missing_features: Vec<String>,
pub version_status: VersionCompatibility,
pub suggestions: Vec<String>,
pub usage_analysis: CrateUsageAnalysis,
pub interactive_recommendations: Vec<InteractiveRecommendation>,
}
Expand description
NEW: Dependency analysis result containing usage information
Fields§
§crate_name: String
Name of the crate being analyzed
current_version: String
Version currently specified in Cargo.toml
enabled_features: Vec<String>
Features currently enabled
used_features: Vec<String>
Features actually used in the code
unused_features: Vec<String>
Features that are enabled but not used
missing_features: Vec<String>
Features that are used but not enabled (potential issues)
version_status: VersionCompatibility
Version compatibility status
suggestions: Vec<String>
Optimization suggestions
usage_analysis: CrateUsageAnalysis
NEW: Detailed usage analysis
interactive_recommendations: Vec<InteractiveRecommendation>
NEW: Interactive optimization recommendations
Trait Implementations§
Source§impl Clone for DependencyAnalysisResult
impl Clone for DependencyAnalysisResult
Source§fn clone(&self) -> DependencyAnalysisResult
fn clone(&self) -> DependencyAnalysisResult
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 moreAuto Trait Implementations§
impl Freeze for DependencyAnalysisResult
impl RefUnwindSafe for DependencyAnalysisResult
impl Send for DependencyAnalysisResult
impl Sync for DependencyAnalysisResult
impl Unpin for DependencyAnalysisResult
impl UnwindSafe for DependencyAnalysisResult
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