News for hackers. Stuff that matters.
Re:Fast, Safe, and Complete(ish) Web Service in Rust by adwhit on Tuesday March 27, 2018 @02:14PM (#16691241)
I like rocket a lot - practically as easy as writing flask but with glorious type-safety thrown in - but I really wanted async ('like, now') because my project will have a large number of persistent connections. I'm sure rocket will get async eventually but it looks to be some way off.

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.

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.