docs(examples): update send_file example to async/await

This commit is contained in:
Weihang Lo
2019-07-16 06:26:15 +08:00
committed by Sean McArthur
parent 524a453b6f
commit e8c19fea4c
4 changed files with 83 additions and 80 deletions

View File

@@ -53,7 +53,7 @@ num_cpus = "1.0"
pretty_env_logger = "0.3"
spmc = "0.2"
url = "1.0"
#tokio-fs = "0.1"
tokio-fs = { git = "https://github.com/tokio-rs/tokio" }
#tokio-mockstream = "1.1.0"
serde = "1.0"
serde_derive = "1.0"