chore: Prepare 0.2 release (#321)
Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
@@ -113,12 +113,12 @@ name = "helloworld-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
tonic = "0.1"
|
||||
tonic = "0.2"
|
||||
prost = "0.6"
|
||||
tokio = { version = "0.2", features = ["macros"] }
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.1.0"
|
||||
tonic-build = "0.2"
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
@@ -180,7 +180,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tonic = "0.1"
|
||||
tonic = "0.2"
|
||||
prost = "0.6"
|
||||
futures-core = "0.3"
|
||||
futures-util = "0.3"
|
||||
@@ -192,7 +192,7 @@ serde_json = "1.0"
|
||||
rand = "0.7"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.1.0"
|
||||
tonic-build = "0.2"
|
||||
```
|
||||
|
||||
Create a `build.rs` file at the root of your crate:
|
||||
|
||||
Reference in New Issue
Block a user