Open navigation menu

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.

  • Rust
  • Axum
  • SQLx
  • PostgreSQL

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 ↗