Rust Web Axum
Build modern web services in Rust using Axum and the Tower middleware ecosystem.
Usage
Describe your web application needs and get implementation guidance with Axum patterns.
Examples
- "Create a REST API with Axum, tower-http, and SQLx"
- "How do I share state between Axum handlers?"
- "Add rate limiting middleware using Tower layers"
Guidelines
- Leverage Tower middleware for cross-cutting concerns
- Show proper state management with Extension and State extractors
- Cover typed error handling with IntoResponse
- Explain the extractor pattern and custom extractors
- Include WebSocket handler examples