What's the best HTTP framework for rust?


#1

Hi everyone,

I’m starting to learn rust and I’d like to do a simple HTTP server on my raspberry pi. I’m looking for something pretty barebones like Flask in Python that I could create a simple REST api on top.

Thanks!


#2

Others may have specific recommendations, but in the meantime, check out http://www.arewewebyet.org/


#3

Pencil is a small Rust web framework inspired by Flask:

Rouille is another micro-framework:


#4

Rocket looks pretty good: https://rocket.rs/


#5

My concern about rocket is the need for dev version of rust. That’s not something I would be comfortable for a production environment.