Runique β a Rust web framework inspired by Django
Runique brings the Django developer experience to Rust. It is a batteries-included Rust web framework with an auto-generated admin panel, type-safe forms, database models and migrations, authentication and built-in CSRF/CSP security β built on Axum, SeaORM and Tera.
Why a Django-like framework in Rust?
Rust has fast, low-level web building blocks, but no "batteries-included" framework with the productivity of Django. Runique fills that gap: instead of wiring an ORM, a templating engine, an admin and a form layer by hand, you get them integrated and convention-driven β while keeping Rust's type safety and performance.
An auto-generated admin panel
Like the Django admin, Runique generates a full CRUD back office from your models with the
admin! macro: list display, search, side filters, pagination, bulk actions and
permission checks. See the admin documentation.
Type-safe forms and models
Declare a model once and Runique derives the SeaORM entity, the SQL migration and a type-safe
form with server-side validation. Read about
forms and
models and the model! macro.
Batteries included: auth, sessions, security
Authentication, persistent sessions, password reset, CSRF protection, a configurable CSP and host validation ship in the box. Explore authentication, sessions and security middleware.
Django β Runique at a glance
| Django (Python) | Runique (Rust) |
|---|---|
| models.py | model! macro β SeaORM entity + migration |
| forms.py | #[form] type-safe forms |
| admin.py | admin! generated admin panel |
| urls.py | urlpatterns! routing macro |
| Django templates | Tera templates (auto-escaped) |
| ORM (QuerySet) | SeaORM + search! query DSL |
| middleware | ordered middleware slots (CSRF, CSP, sessionsβ¦) |
A deeper side-by-side is on the Django vs Runique comparison page.
FAQ
Is there a Django-like web framework for Rust?
Yes β Runique is a Rust web framework inspired by Django, with a generated admin, type-safe forms, migrations, auth and built-in security.
Does Runique have an admin panel like Django admin?
Yes. It generates a full CRUD admin from your models, with search, filters, bulk actions and permissions.
What is the best Django alternative in Rust?
Runique focuses specifically on the Django experience β batteries included β on top of the Axum and SeaORM ecosystem.