Detect and fix unused dependencies, misplaced dependencies, and unlinked source files in Rust projects.
Run just ready after making code changes to ensure code quality and all tests pass.
just ready- Run full quality checks (typos, fmt, check, lint, test)just fmt- Format code with rustfmt and taplojust lint- Run clippyjust snapshots- Accept all snapshot test changescargo test- Run all testscargo check- Quick compile check
src/lib.rs- Core library functionalitysrc/package_analyzer.rs- Analyzes package dependenciessrc/source_parser.rs- Parses Rust source files for importssrc/cargo_toml_editor.rs- Edits Cargo.toml filessrc/package_processor.rs- Processes packages in workspaces
- Integration tests:
tests/integration_tests.rs - Test fixtures:
tests/fixtures/ - Snapshot tests use
cargo-insta