Explore the top Rust web frameworks and their advantages and drawbacks. Discover the best choices for your projects. A comprehensive comparison to help you make informed decisions.
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.
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.
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?
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.