| 1 |
## Code Standards |
| 2 |
|
| 3 |
### Required Before Each Commit |
| 4 |
|
| 5 |
- Run `cargo clippy --tests --all-features -- -D warnings` to ensure the code builds successfully and address any warnings. |
| 6 |
- Run `cargo fmt` to ensure the code is formatted correctly. |
| 7 |
- Run `cargo test` to ensure all tests pass. |
| 8 |
- Run `pre-commit` to ensure code quality and consistency. |
| 9 |
|
| 10 |
## Key Guidelines |
| 11 |
|
| 12 |
- Follow Rust best practices and idiomatic patterns. |
| 13 |
- Maintain existing code structure and organization by default unless instructed to refactor or refactoring can improve maintainability or performance. |