https://github.com/microsoft/rust-guidelines
Write idiomatic Rust that scales.
https://github.com/microsoft/rust-guidelines
guidelines rust
Last synced: 3 months ago
JSON representation
Write idiomatic Rust that scales.
- Host: GitHub
- URL: https://github.com/microsoft/rust-guidelines
- Owner: microsoft
- License: mit
- Created: 2025-07-15T07:56:59.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2026-01-23T12:43:03.000Z (5 months ago)
- Last Synced: 2026-03-30T08:43:25.598Z (3 months ago)
- Topics: guidelines, rust
- Language: Rust
- Homepage: https://microsoft.github.io/rust-guidelines
- Size: 93.8 KB
- Stars: 141
- Watchers: 5
- Forks: 14
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Pragmatic Rust Guidelines
A collection of pragmatic design guidelines helping developers to produce idiomatic Rust that scales.
👉 [**Pragmatic Rust Guidelines**](https://microsoft.github.io/rust-guidelines)
## Development
The guidelines use [mdbook](https://github.com/rust-lang/mdBook). Once installed you can view them locally via
```bash
mdbook serve --open
```
To submit new guidelines, file a PR. They should be
- beneficial for { safety, COGs, maintenance },
- agreeable to a majority of experienced (3+ years) Rust developers,
- comprehensible to Rust novices (4+ weeks),
- practically applicable in real world scenarios.
## Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is
subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this
project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those
third-party’s policies.