One of my new years’ resolutions is to be able to be productive enough with Rust to start making contributions to Lemmy and/or to integrate part of the Fediverser project (specifically, the “login with Reddit” feature) into it.
But first steps first, and I want to make a simple web app where I can authenticate users against an LDAP database, and show some data only for authenticated users.
It seems that the most mature libraries for web development in Rust is still actix web (and also the one that Lemmy uses), but what about other parts? Is Tera a good option for someone who is already familiar with Jinja (and Django)? Most of the tutorials I found out are for using actix web mostly as a json API and leaves the frontend for specific javascript SPAs, but what if I want to do “old school” web pages?
I can recommend trying butane instead of diesel as it’s as close to django’s ORM as you’ll get in rust.
For actix alternatives, see https://www.arewewebyet.org/
CC BY-NC-SA 4.0
Thanks for the pointer, though I think I will stick with Diesel because this seems to be what Lemmy already uses.
My main interest is to know what would be the “state-of-the-art” alternatives to some of the things that are already built-in on Django.
and so on…
gl;hf 🙂
CC BY-NC-SA 4.0