Axum Web Patterns
Guides the implementation of production-grade Rust web applications and APIs using the Axum framework and Tower ecosystem.
Axum Web Patterns equips Claude Code with deep knowledge of the Axum 0.7+ framework ecosystem, enabling developers to build robust, high-performance Rust web services. It provides standard implementation blueprints for router construction, shared state management with Arc, custom extractors like JWT authentication and pagination, typed HTTP error handling with IntoResponse, Tower middleware integration, WebSocket communication, and multipart file uploads while enforcing idiomatic Rust practices and avoiding common anti-patterns.
主な機能
01Secure multipart file upload processing with size validation and stream parsing
020 GitHub stars
03Custom request extractors for JWT authentication headers and query pagination
04Modular router configuration with nested routing and Tower HTTP middleware layers
05Typed API error responses implementing Axum's IntoResponse trait with JSON output
06Real-time bidirectional WebSocket handler integration and message loop handling
ユースケース
01Implementing custom authentication middleware and request extractors
02Adding real-time WebSocket communication and file upload endpoints to web servers
03Scaffolding scalable RESTful backend services and APIs in Rust with Axum