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.

Thanks!

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

1 Like

Pencil is a small Rust web framework inspired by Flask:

Rouille is another micro-framework:

https://github.com/tomaka/rouille

1 Like

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

2 Likes

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

2 Likes