Skip to content

daboross/futures-example-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages