What's the best HTTP framework for rust?


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.



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


Pencil is a small Rust web framework inspired by Flask:

Rouille is another micro-framework:


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


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