Add dependencies explanation to book

This commit is contained in:
Florian Gilcher 2019-08-22 07:53:32 -07:00
parent 393b72e4fc
commit c9d8b197ca
No known key found for this signature in database
GPG key ID: E7B51D33F8EBF61B

View file

@ -45,3 +45,11 @@ $ rustup override add nightly
$ rustc --version
rustc 1.38.0-nightly (c4715198b 2019-08-05)
```
Add the following lines to `Cargo.toml`:
```toml
[dependencies]
futures-preview = { version = "0.3.0-alpha.18", features = [ "async-await", "nightly" ] }
async-std = "0.99"
```