4 ms·
It gets better every day. async/await is relatively new (stabilized end of last year). All the misc libs in the Tokio stack have been updated. There is Tonic fo
by carllerche 6y ago
It gets better every day. async/await is relatively new (stabilized end of last year). All the misc libs in the Tokio stack have been updated. There is Tonic for gRPC, Hyper/reqwest/warp for HTTP, ... these all work with async/await now.
For docs, there are some now and I expect it to improve a lot throughout the year.
We also just posted mini-redis as a larger "real world" example: https://github.com/tokio-rs/mini-redis https://github.com/tokio-rs/mini-redis
- anderspitman 6y agoVery nice. I used warp (awesome) for my service. Maybe I should update it to use async/await as an exercise.