cargo-shear 1.13.0

Detect and fix unused/misplaced dependencies from Cargo.toml
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(feature = "allocator")]
#[global_allocator]
static GLOBAL: mimalloc_safe::MiMalloc = mimalloc_safe::MiMalloc;

use std::process::ExitCode;

use cargo_shear::{CargoShear, cargo_shear_options};

fn main() -> ExitCode {
    let options = cargo_shear_options().run().resolve();
    CargoShear::new(std::io::stdout(), options).run()
}