chore(docs): Bump tonic versions in tutorials (#96)
This commit is contained in:
committed by
Lucio Franco
parent
eea3c0f99a
commit
af5754bd43
@@ -116,14 +116,14 @@ name = "helloworld-client"
|
|||||||
path = "src/client.rs"
|
path = "src/client.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = "0.1.0-alpha.3"
|
tonic = "0.1.0-alpha.4"
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
prost = "0.5"
|
prost = "0.5"
|
||||||
prost-derive = "0.5"
|
prost-derive = "0.5"
|
||||||
tokio = "=0.2.0-alpha.6"
|
tokio = "=0.2.0-alpha.6"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = "0.1.0-alpha.3"
|
tonic-build = "0.1.0-alpha.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
We include `tonic-build` as a useful way to incorporate the generation of our client and server gRPC code into the build process of our application. We will setup this build process now:
|
We include `tonic-build` as a useful way to incorporate the generation of our client and server gRPC code into the build process of our application. We will setup this build process now:
|
||||||
|
|||||||
@@ -192,10 +192,10 @@ serde_json = "1.0"
|
|||||||
prost = "0.5"
|
prost = "0.5"
|
||||||
rand = "0.7.2"
|
rand = "0.7.2"
|
||||||
tokio = "0.2.0-alpha.6"
|
tokio = "0.2.0-alpha.6"
|
||||||
tonic = "0.1.0-alpha.3"
|
tonic = "0.1.0-alpha.4"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = "0.1.0-alpha.3"
|
tonic-build = "0.1.0-alpha.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a `build.rs` file at the root of your crate:
|
Create a `build.rs` file at the root of your crate:
|
||||||
|
|||||||
Reference in New Issue
Block a user