Best Rust Web Frameworks to Use in 2023 (www.shuttle.rs)
from snaggen@programming.dev to rust@programming.dev on 24 Aug 2023 05:49
https://programming.dev/post/2079888

#rust

threaded - newest

nous@programming.dev on 24 Aug 2023 08:50 next collapse

However, Rocket’s ambitions take their toll. While still being actively developed, the releases are not as frequent as they used to be.

That is a massive understatement. Rocket is on RC3 of v0.5, the RC1 was released in 2021. So that is basically one small RC release a year… And v0.4 requires nightly and is not async so is hardly a viable version these days. This project is far closer to not being actively developed then this article makes it seem. IMO unless something seriously changes with the project Rocket is not a web framework worth considering these days.

It was a head of its time when it first came out, but is way behind the curve in its current form.

torcherist@programming.dev on 24 Aug 2023 17:49 collapse

Right. I’ve been following Rocket for a few years when it was most active but the maintainer has for past couple years been focused elsewhere (I take no issue with that, open source is largely volunteer work after all). v0.5 RCs support async and works well from my experience, ymmv. Axum is great. Actix-web is good too.

academician@lemm.ee on 24 Aug 2023 12:28 next collapse

The last time I wrote a web service in Rust, I used Axum - in part because it seemed to be the Rust community’s consensus that it was generally the best all-around option (and I didn’t have time to prototype with a bunch of other frameworks).

Poem looks really interesting, though! I know the batteries-included approach doesn’t appeal to everyone, but it’s nice to be able to get so much off the shelf. Does anyone have experience with it yet they’d like to share?

natecox@programming.dev on 25 Aug 2023 23:43 collapse

Poem is really really neat and I wish I could recommend it, but honestly I think the docs just aren’t good enough for a general recommendation. The demos in the repo are nice but are not a replacement for actual documentation and tutorials.

It will need a lot more community support to actually take off.

1984@lemmy.today on 24 Aug 2023 19:37 collapse

To me as a beginner, Axum looks the easiest from just comparing these code samples.