Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tonic-examples/helloworld-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ name = "helloworld-client"
path = "src/client.rs"

[dependencies]
tonic = "0.1.0-alpha.3"
tonic = "0.1.0-alpha.4"
bytes = "0.4"
prost = "0.5"
prost-derive = "0.5"
tokio = "=0.2.0-alpha.6"

[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:
Expand Down
4 changes: 2 additions & 2 deletions tonic-examples/routeguide-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ serde_json = "1.0"
prost = "0.5"
rand = "0.7.2"
tokio = "0.2.0-alpha.6"
tonic = "0.1.0-alpha.3"
tonic = "0.1.0-alpha.4"

[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:
Expand Down