cargo-shed 0.1.0

A Cargo subcommand that finds dependency bloat, risky features, duplicate crate versions, and safe cleanup opportunities in Rust projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::process::ExitCode;

fn main() -> ExitCode {
    match cargo_shed::cli::run_from_env() {
        Ok(code) => ExitCode::from(code),
        Err(error) => {
            eprintln!("cargo-shed failed: {error}");
            ExitCode::from(2)
        }
    }
}