add async/.await

This commit is contained in:
2020-01-30 21:12:07 +08:00
parent 9e8f93b667
commit 25247c72cc
2 changed files with 36 additions and 0 deletions

12
async_await/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "async_await"
version = "0.1.0"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
futures = "0.3.1"
isahc = "0.8.2"
http = "0.1.21"