{}
RustCanon
Learn
Patterns
78+
Runnable Rust patterns by topic
Software Engineering
Classic patterns adapted for Rust
Anti-Patterns
Common pitfalls and how to avoid them
Compiler Errors
Decode the most common error messages
Build
Recipes
80+
Real-world project templates with crates
Learning Paths
Structured journeys from beginner to expert
Practice
Exams
Practice tests and skill assessments
Reference
Cheatsheet
Quick reference for syntax and idioms
Resources
Curated books, courses, and tools
Home
Patterns
78+
Software Engineering
Anti-Patterns
Compiler Errors
Recipes
80+
Learning Paths
Exams
Cheatsheet
Resources
โ Back to All Patterns
๐
API Design Patterns
Build production-grade APIs in Rust
5 Patterns
5 Interactive
0 Live Demos
REST API Design
intermediate
RESTful services with Axum/Actix
๐ฎ Playground
rest
axum
+2
GraphQL APIs
advanced
GraphQL with async-graphql
๐ฎ Playground
graphql
async-graphql
+1
gRPC Services
advanced
High-performance RPC with tonic
๐ฎ Playground
grpc
tonic
+1
Error Responses
intermediate
Consistent error handling for APIs
๐ฎ Playground
errors
api
+1
Rate Limiting
intermediate
Protecting APIs from abuse
๐ฎ Playground
rate-limit
throttling
+1