rustango 0.42 documentation
Topic guides, tutorial, API reference, release notes, and recipes.
In this version
Getting started
Install rustango and build your first app.
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.42
Release notes for rustango 0.42.
Best practices
Recommended patterns and a deployment checklist.
How-to guides
Task-focused recipes for common rustango patterns.