Rustango 0.44 documentation
Topic guides, tutorial, API reference, release notes, and recipes.
Django's batteries, Rust's guarantees.
Rustango is a batteries-included web framework for Rust — the productivity of Django or Rails, with the speed, memory safety, and single-binary deploy of Rust.
- Batteries included — ORM & migrations, admin, auth, REST + OpenAPI, templates, forms, background jobs, and i18n in one crate.
- Fast & safe by default — compiled, no garbage collector, memory-safe: your whole web layer runs at Rust speed.
- Runs on any database — one backend across Postgres, MySQL, and SQLite, with multi-tenancy built in.
- Ships as one binary — no runtime, no interpreter: build it, copy it, run it.
In this version
Getting started
Getting started — Rustango framework documentation: guides, examples, and API reference.
Models & the ORM
Define tables with the Model derive and query them.
ORM in depth
Relations, migrations, transactions, and the query toolkit beyond the basics.
Routing & the manage CLI
How requests reach your code, and the unified management binary.
Multi-tenancy
Serve many isolated tenants from one deployment.
The admin
A full CRUD admin UI for every model, free.
Forms & validation
Parse, validate, and protect HTML form submissions.
Serializers & JSON APIs
Build REST APIs with serializers, viewsets, and OpenAPI.
Authentication
Sessions, passwords, OAuth, 2FA, passkeys, and tokens.
Permissions & roles
Role-based access control via the ContentType framework.
Caching & performance
Pluggable caches, fragment/page caching, and feature flags.
Background work
Job queues, scheduling, email, notifications, and webhooks.
Storage & media
Pluggable file storage and a first-class Media model.
Observability
Logging, tracing, metrics, and health checks.
Security & middleware
Harden the app and compose the middleware stack.
Configuration
Layered settings, typed env, and secrets.
Templates & i18n
Server-rendered HTML with Tera, CBVs, and localization.
What's new in 0.44
Release notes for rustango 0.44.
Best practices
Recommended patterns and a deployment checklist.
How-to guides
Task-focused recipes for common rustango patterns.
Guides
Guides — Rustango framework documentation: guides, examples, and API reference.
Authentication
Authentication — Rustango framework documentation: guides, examples, and API reference.
Benchmarks
Benchmarks — Rustango framework documentation: guides, examples, and API reference.
Reference
Reference — Rustango framework documentation: guides, examples, and API reference.
Cookbook
Task-focused recipes from the Rustango cookbook — copy-and-adapt solutions for the jobs that come up building real apps.