An example API built with Rust, Axum, SQLx, and PostgreSQL.
Axium is a high-performance API boilerplate written in Rust, built with the Axum web framework, SQLx for database operations, PostgreSQL, Redis for caching, and S3/MinIO for object storage. The project, created by Riktastic, provides a production-ready template featuring JWT authentication, role-based access control, TLS 1.3 encryption with FIPS 140-3 compliant cryptography, and comprehensive API documentation via OpenAPI 3.1 specifications. It includes features like Argon2id password hashing, structured logging with OpenTelemetry integration, Docker Compose deployment, and a custom routing wrapper designed to simplify RBAC implementation and unify connections to external services.