From c9d8b197cad0565693d2a552eb278e4126e6eb18 Mon Sep 17 00:00:00 2001 From: Florian Gilcher Date: Thu, 22 Aug 2019 07:53:32 -0700 Subject: [PATCH] Add dependencies explanation to book --- docs/src/tutorial/specification.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/tutorial/specification.md b/docs/src/tutorial/specification.md index 884a0657..ce2abcb4 100644 --- a/docs/src/tutorial/specification.md +++ b/docs/src/tutorial/specification.md @@ -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" +```