| name | cargo-quality |
| description | Run all Rust quality checks (fmt, clippy, test, bench). Use before committing or when validating code changes. |
Cargo Quality Checks
Run the full quality gate required by this project.
Full CI Mirror (use before every PR)
bash .github/scripts/local-ci.sh
This runs the same gates as .github/workflows/ci.yml: fmt, clippy, build,
test, a bench compile-check, and cargo doc.
Individual Commands
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets --locked
cargo bench --no-run
cargo doc --no-deps
Expected Results
- All commands must pass with exit code 0
- Clippy must produce zero warnings
- All tests must pass
When to Use
- Before creating a commit
- Before opening a pull request
- After making any code changes
- When CI fails and you need to reproduce locally