3 releases
| 0.1.2 | Mar 12, 2025 |
|---|---|
| 0.1.1 | Mar 12, 2025 |
| 0.1.0 | Mar 12, 2025 |
#608 in Visualization
22KB
230 lines
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
- Clone the repository:
git clone https://github.com/suhasamaresh/depclean.git cd depclean - 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
- Fork the repository
- Create a feature/bugfix branch
- Add tests for changes
- Submit a PR with
[FEAT]/[FIX]/[DOCS]prefix
License
MIT License - See LICENSE for details.
Dependencies
~18–37MB
~475K SLoC