Re:Fast, Safe, and Complete(ish) Web Service in Rust
by fafhrd91 on Tuesday March 27, 2018 @02:26PM
(#16691366)
i just added extractors system. it is not released yet, i am planing to release it later this week
https://actix.github.io/actix-web/actix_web/struct.Route.htm...
Re:Fast, Safe, and Complete(ish) Web Service in Rust
by aschampion on Tuesday March 27, 2018 @04:18PM
(#16692337)
For async, also worth considering Gotham: https://gotham.rs/
I only have minimal experience with it, since I've also eventually chosen actix-web for all my projects so far due to its simplicity.
In comparison to rocket, actix-web does not use codegen tricks so is not as ergonomic or as safe - e.g. it cannot statically check that the path variables that you ask for actually exist on the route - but these are things that a simple test suite easily picks up (incidentally actix-web has a nice built-in test server).
Also I was a little concerned that rocket development has stalled somewhat. 26 PRs waiting at time of writing. As I recall the maintainer is teaching a Rust class as Stanford so he's most likely just very busy.