Understand the purpose of the Rust API Guidelines
masterThe Rust API Guidelines are a set of recommendations for designing and presenting APIs in the Rust programming language. They are authored by the Rust library team based on their experience with the standard library and the broader ecosystem.
Key considerations for developers:
- Not a mandate: These are guidelines, not strict rules. Use them as a set of considerations to help build idiomatic and interoperable libraries.
- Ecosystem integration: While not mandatory, following these guidelines helps your crate integrate more smoothly with the existing Rust ecosystem.
- Structure: The guidelines are organized into a concise checklist for quick scanning and topical chapters for detailed explanations.