Project · Creator and maintainer

Rustango

A batteries-included web framework for Rust: declare a model once and get an ORM, migrations, an auto-admin, multi-tenancy and a REST API from it — on PostgreSQL, MySQL and SQLite.

Rustango
Tech stack
RustAxumTokioSQLxPostgreSQLMySQLSQLiteTera

Project Overview

Rustango is an open-source web framework for Rust, built on axum and tokio. One #[derive(Model)] is the whole contract: from it the framework emits typed queries, migration diffs, admin screens, serializers and CRUD endpoints. Everything it adds is a tower layer or an axum router, so any axum extractor or middleware drops straight in.

Key Features

  • One ORM for PostgreSQL, MySQL 8+ and SQLite from the same source
  • Automatic migrations with makemigrations and migrate
  • Auto-generated admin and multi-tenancy, with a schema or a database per tenant
  • Authentication: sessions, JWT, OAuth2/OIDC, passkeys and permissions
  • ViewSets, serializers and OpenAPI 3.1 generation
  • Background jobs, caching, email, S3 media storage and production middleware such as CSRF, CSP and rate limiting

Results

Published on crates.io and documented at rustango.com in English, German, Spanish and French, with a runnable, test-backed cookbook for every feature. It is the foundation of Rustango-CMS — and of this website.

Get in touch →