Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
chore(docs): Bump tonic versions in tutorials (hyperium#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsre authored and rabbitinspace committed Jan 1, 2020
1 parent e48c0ee commit 65ef5a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 65ef5a8

Please sign in to comment.