Rust Axum REST API: Auth, CORS, Rate Limiting & OpenAPIBuilding a production-ready API with middleware, role-based authentication, and auto-generated docsApr 5, 2026·18 min read·42