Linting
Clippy
Run the Clippy linter for best practices and common mistakes:
cargo clippy --workspace
Fix warnings automatically (when possible):
cargo clippy --workspace --fix
Clippy with all warnings as errors:
cargo clippy --workspace -- -D warnings
Format Check
Check if code is properly formatted:
cargo fmt --check
Format Code
Auto-format all code:
cargo fmt