update to stable toolchain (#122)

* update to stable toolchain

* remove toolchan note from routeguide
This commit is contained in:
Juan Alvarez
2019-11-09 09:54:18 +00:00
committed by Lucio Franco
parent 029950904a
commit 3809f18dc6
4 changed files with 9 additions and 17 deletions
+4 -7
View File
@@ -21,17 +21,14 @@ $ cargo new helloworld-tonic
$ cd helloworld-tonic
```
`tonic` currently only works on rust `1.39-beta` and above as it requires support for the `async_await`
feature. To install the beta simply follow the commands below:
`tonic` works on rust `1.39` and above as it requires support for the `async_await`
feature.
```bash
$ rustup install beta
$ rustup component add rustfmt --toolchain beta
$ rustup default beta
$ rustup update
$ rustup component add rustfmt
```
We recommend setting `rustup default` to `beta` as this is the version tools like RLS and rust-analyzer will use to watch your code, and could degrade your experience when developing using Tonic as they will not be able to provide support.
## Defining the HelloWorld service
Our first step is to define the gRPC _service_ and the method _request_ and _response_ types using