WIP.See the Chinese version for the full version, the English version is currently being translated from the Chinese version, welcome to participate in the contribution!
It is understood that some companies and organizations within the Rust community maintain their own coding specifications. Some of the publicly available ones are listed below.
- Rust API Guidelines
- Rust Style Guide
- Rust's Unsafe Code Guidelines Reference
- ANSSI | Secure Rust Guidelines
- PingCAP | Rust Style Guide
- Google Fuchsia OS Rust Guide
- RustAnalyzer Style Guide
- Clippy lints
- lints in the rustc book
- Noisy Clippy
- Rustfmt Rules
- Improve the readability, maintainability, robustness, and portability of code by following Rust language features.
- Improve the standardization and security of Unsafe Rust code writing.
- The programming specification terms strive to systematize, easy to apply, easy to check, to help developers improve development efficiency.
- give developers a clear and global vision, in the process of developing code can follow a good code specification, rather than wait until the code is written and then through rustfmt and clippy such tools, a line to modify the warning.
- The specification is not a tutorial, but the level of developers varies. For some knowledge blind spots and those that may lead to program errors, the specification will also cover.