Open navigation menu

Rust + Axum API Starter

A Rust Axum API starter with SQLx, JWT auth, and tracing for high-performance async REST APIs with compile-time SQL checking.

  • Rust
  • Axum
  • SQLx
  • PostgreSQL

Use Case

Best for high-performance REST APIs needing Rust safety, Axum async routing, SQLx compile-time SQL validation, JWT auth, and structured tracing.

Quick Start

cargo install cargo-generate && cargo generate rust-templates/axum-api my-api