2 unstable releases
Uses new Rust 2024
| 0.2.0 | Dec 20, 2025 |
|---|---|
| 0.1.0 | Jul 23, 2025 |
#370 in Cargo plugins
120KB
3K
SLoC
cargo-cycles
A cargo extension for detecting dependency cycles between crates and within modules for a workspace.
Circular dependencies indicate structural issues in the code and should be avoided in well-engineered projects.
Usage
Basic usage
# Run module-level cycle detection
cargo cycles
# Run with verbose output
cargo cycles --verbose
Local installation
For dev installation, run cargo install --path cargo-cycles --force
Dependencies
~5–9MB
~165K SLoC