Rust + Axum High-Performance REST API
A high-performance REST API with Rust, Axum, and SQLx featuring async queries, JWT auth, and zero-copy serialization for sub-ms responses.
Highlights
- Async SQLx queries with compile-time SQL validation preventing runtime errors
- JWT authentication with tower middleware and typed extractor for type-safe auth
- Zero-copy serialization with serde and axum::Json for minimal allocation overhead
- Connection pooling with deadpool for high-concurrency database access
Repository
View on GitHub ↗Report a problem with this caseOpens a pre-filled issue on GitHub.