pub struct DependencyReport {
pub total_dependencies: usize,
pub optional_dependencies: usize,
pub essential_dependencies: usize,
pub heavy_dependencies: usize,
pub total_transitive_dependencies: usize,
pub high_impact_recommendations: usize,
pub recommendations: Vec<DependencyRecommendation>,
pub dependency_breakdown: HashMap<DependencyCategory, Vec<String>>,
}Expand description
Comprehensive dependency audit report
Fields§
§total_dependencies: usizeTotal number of dependencies
optional_dependencies: usizeNumber of optional dependencies
essential_dependencies: usizeNumber of essential dependencies
heavy_dependencies: usizeNumber of heavy dependencies
total_transitive_dependencies: usizeEstimated total transitive dependencies
high_impact_recommendations: usizeNumber of high-impact recommendations
recommendations: Vec<DependencyRecommendation>All recommendations
dependency_breakdown: HashMap<DependencyCategory, Vec<String>>Breakdown by category
Implementations§
Source§impl DependencyReport
impl DependencyReport
Sourcepub fn detailed_recommendations(&self) -> String
pub fn detailed_recommendations(&self) -> String
Generate detailed recommendations
Sourcepub fn generate_cargo_optimizations(&self) -> String
pub fn generate_cargo_optimizations(&self) -> String
Generate Cargo.toml optimizations
Trait Implementations§
Source§impl Clone for DependencyReport
impl Clone for DependencyReport
Source§fn clone(&self) -> DependencyReport
fn clone(&self) -> DependencyReport
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 moreAuto Trait Implementations§
impl Freeze for DependencyReport
impl RefUnwindSafe for DependencyReport
impl Send for DependencyReport
impl Sync for DependencyReport
impl Unpin for DependencyReport
impl UnwindSafe for DependencyReport
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