chore: Prepare 0.10 release (#954)

This commit is contained in:
Lucio Franco
2022-03-31 17:05:54 -04:00
committed by GitHub
parent d142e1aa4c
commit 808c417cbd
10 changed files with 55 additions and 18 deletions
+3 -3
View File
@@ -112,12 +112,12 @@ name = "helloworld-client"
path = "src/client.rs"
[dependencies]
tonic = "0.6"
prost = "0.9"
tonic = "0.7"
prost = "0.10"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
[build-dependencies]
tonic-build = "0.6"
tonic-build = "0.7"
```
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:
+3 -3
View File
@@ -174,8 +174,8 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
```toml
[dependencies]
tonic = "0.6"
prost = "0.9"
tonic = "0.7"
prost = "0.10"
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] }
@@ -187,7 +187,7 @@ serde_json = "1.0"
rand = "0.7"
[build-dependencies]
tonic-build = "0.6"
tonic-build = "0.7"
```
Create a `build.rs` file at the root of your crate: