futures-example-2019

Example using Rust futures with async/await as of May 2019

MIT License

Stars
11

futures-example-2019

It's not immediately obvious what crates one should use trying to get .await working with Rust in May, 2019.

To help that cause, I've created this crate. It does a single http request to https://jsonplaceholder.typicode.com/todos/1 using hyper, and prints the result. This should work as a good starter for projects using tokio or hyper with async/await syntax.

This uses:

The crate is fairly simple, so it should be easy to explore.

Thanks to: