Rust Coding Standards by Topic¶
Browse rules and workflows by their engineering concern. Tags group relevant guidance; they do not change a rule's Required or Advisory level or a project's adoption scope.
Use the standards index for the complete list of rule IDs, or the review guide for a practical review workflow. For generated-code quality concerns, start with Anti AI Slop Rust.
AI-assisted Development
Concurrency
Documentation
Error Handling
- External processes and cancellation
- Progress, diagnostics and logging
- Types, APIs and errors
- Untrusted inputs
Filesystem and Persistence
- Filesystem identity and effects
- SQLite and native paths
- Safety and user data
- Selecting optimizations
Performance
- Anti-AI-Slop Rust guide
- Comparable measurement
- Performance and efficiency
- Profiling
- Rust skills
- Selecting optimizations
Rust Fundamentals
- Numbers and bounds
- Performance and efficiency
- Standards index
- Style and structure
- Testing and documentation
- Types, APIs and errors
Safety
- Concurrency and tooling
- External processes and cancellation
- Filesystem identity and effects
- Numbers and bounds
- Reviewing code
- Risk-weighted verification
- SQLite and native paths
- Safety and user data
- Untrusted inputs
Testing
- Anti-AI-Slop Rust guide
- Comparable measurement
- Filesystem identity and effects
- Reviewing code
- Risk-weighted verification
- Testing and documentation
- Untrusted inputs