4 ms·
Exciting, but I’d give a lot for an equivalent to Django. There are very few problems I need to solve that are fixed by htmx style “full stack” apps, but many t
by frio 3mo ago
Exciting, but I’d give a lot for an equivalent to Django. There are very few problems I need to solve that are fixed by htmx style “full stack” apps, but many that are solved by the generated admin, authentication framework, caching, eventing etc.
Unfortunately, you end up bound to Python’s poor performance and poor typing stories, which Rust solves in spades.
- westurner 3mo agoHere's a v0.0.2 jinja2rs built on minijinja with optional python compatibility; CompatMode::Django(…) Django template language (filters, app-directory loader, auto-escape) : jinja2rs::filters : https://github.com/westurner/dsport/blob/main/src/jinja2rs/src/filters.rs https://github.com/westurner/dsport/blob/main/src/jinja2rs/s... jinja2rs::filters::django : https://github.com/westurner/dsport/blob/main/src/jinja2rs/src/filters/django.rs https://github.com/westurner/dsport/blob/main/src/jinja2rs/s... Which Rust components are like the Django ORM and django.contrib.admin and DRF/FastAPI; with convention over configuration and tests and great docs?
- westurner 3mo agoWhen I searched for that last sentence in full, I found this: dj-bolt/django-bolt: Rust-powered API framework for Django achieving 60k+ RPS. Uses Actix Web for HTTP, PyO3 for Python bridging, msgspec for serialization. Decorator-based routing with built-in auth and middleware. https://github.com/dj-bolt/django-bolt https://github.com/dj-bolt/django-bolt : > Faster than FastAPI, but with Django ORM, Django Admin, and Django packages. [...] Django-Bolt is a high-performance API framework for Django, providing Rust-powered API endpoints capable of 188k+ RPS.
- newaccountman2 3mo agoYou could check out Loco.rs I don't use it personally because I don't like the look of SeaORM
- m4tx 3mo agoShameless plug: I've been developing https://cot.rs/ https://cot.rs/ for a while, which is strongly inspired by Django, and auto migrations, admin panel, auth, etc. are among the features supported by Cot.
- frio 3mo agoThanks, I'll take a look!