2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 09:15:33 +00:00

Merge pull request #528 from skade/remove-nightly-note

Update version requirements in the tutorial
This commit is contained in:
Florian Gilcher 2019-11-13 16:31:42 +01:00 committed by GitHub
commit d546ee3d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,18 +38,10 @@ $ cargo new a-chat
$ cd a-chat
```
At the moment `async-std` requires Rust nightly, so let's add a rustup override for convenience:
```bash
$ 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 = "0.3.0"
async-std = "1.0.0"
async-std = "1"
```