3 releases
new 0.1.2 | Mar 12, 2025 |
---|---|
0.1.1 | Mar 12, 2025 |
0.1.0 | Mar 12, 2025 |
#2321 in Command line utilities
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–32MB
~462K SLoC