Skip to content

Commit

Permalink
chore(docs): Bump tonic versions in tutorials (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsre authored and LucioFranco committed Oct 27, 2019
1 parent eea3c0f commit af5754b
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 af5754b

Please sign in to comment.