depclean

Crates.iodepclean
lib.rsdepclean
version0.1.2
created_at2025-03-12 17:42:10.96047+00
updated_at2025-03-12 18:11:31.08537+00
descriptionA tool to analyze and optimize project dependencies
homepagehttps://github.com/suhasamaresh/depclean
repositoryhttps://github.com/suhasamaresh/depclean
max_upload_size
id1590110
size76,429
Suhas A (suhasamaresh)

documentation

README

Depclean

Depclean is a Rust command-line tool to analyze and optimize project dependencies by parsing Cargo.lock, building dependency graphs, detecting duplicates, and suggesting version alignments.

Installation

Via Cargo

cargo install depclean

Verify installation:

depclean --help

From Source

  1. Clone the repository:
    git clone https://github.com/suhasamaresh/depclean.git
    cd depclean
    
  2. Build and run:
    cargo build --release
    ./target/release/depclean --help
    

Usage

Analyze dependencies in a Cargo project:

depclean --lockfile Cargo.lock

Output includes:

  • Dependency graph visualization

  • Duplicate dependency detection

  • Version alignment suggestions

Contributing

  1. Fork the repository
  2. Create a feature/bugfix branch
  3. Add tests for changes
  4. Submit a PR with [FEAT]/[FIX]/[DOCS] prefix

License

MIT License - See LICENSE for details.

Commit count: 15

cargo fmt