Rust Oxide

Minimal-stack Rust backend starter for real projects.

Build production-ready APIs with Axum, SeaORM, and Askama. Use the companion CLI to scaffold apps and CRUD APIs quickly, then extend the same codebase for auth, data, and UI.

Rendered at 19-02-2026 11:05

At a glance

  • Axum API routing with middleware and JSON error normalization
  • SeaORM entities and DAO/service layers for clean boundaries
  • JWT auth, roles, and refresh token flow
  • Companion CLI for scaffolding projects and CRUD APIs

Install now

Install oxide with one command.

Use the script install or cargo install approach.

Script

curl -fsSL https://raw.githubusercontent.com/HarrisDePerceptron/Rust-Oxide/master/scripts/install.sh | sh

or

Cargo

cargo install rust-oxide-cli

After install

oxide init my_app

Script URL: https://raw.githubusercontent.com/HarrisDePerceptron/Rust-Oxide/master/scripts/install.sh

Application stack

Powered By

Core runtime, API, persistence, templating, auth, and frontend tooling used in this starter.

Language

Rust 2024

Core implementation language for API, services, data access, and templates.

Web framework

Axum + Tower

Routing, middleware, request extractors, and HTTP composition.

Data layer

SeaORM

Entity modeling, schema sync, and typed DAO-backed persistence.

Auth

JWT + Argon2

Access/refresh token flow with password hashing and role guards.

Tokio runtime Askama templates

Framework features

Whats in Rust Oxide

These capabilities are included out of the box so teams can focus on product logic.

Ship in minutes

Install, run, and scaffold new services with a minimal setup path.

Automatic API documentation

Routes and docs pages are generated from project metadata and kept aligned.

Database agnostic

Supports multiple providers including SQLite and Postgres.

Predictable API responses

JSON payloads follow a consistent envelope for easier client integration.

Consistent error handling

Centralized error mapping and middleware normalization across endpoints.

Ready-to-ship HTML templates

Responsive Askama views with shared layout and reusable UI patterns.

Auth ready by default

JWT auth, role guards, and refresh token flows are already wired.

Typed configuration

Environment-driven config with schema validation and safe defaults.

Built-in observability

Tracing and structured middleware logging to monitor behavior quickly.