Skip to content

Commit af5754b

Browse files
mattsreLucioFranco
authored andcommitted
chore(docs): Bump tonic versions in tutorials (#96)
1 parent eea3c0f commit af5754b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tonic-examples/helloworld-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ name = "helloworld-client"
116116
path = "src/client.rs"
117117

118118
[dependencies]
119-
tonic = "0.1.0-alpha.3"
119+
tonic = "0.1.0-alpha.4"
120120
bytes = "0.4"
121121
prost = "0.5"
122122
prost-derive = "0.5"
123123
tokio = "=0.2.0-alpha.6"
124124

125125
[build-dependencies]
126-
tonic-build = "0.1.0-alpha.3"
126+
tonic-build = "0.1.0-alpha.4"
127127
```
128128

129129
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:

tonic-examples/routeguide-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ serde_json = "1.0"
192192
prost = "0.5"
193193
rand = "0.7.2"
194194
tokio = "0.2.0-alpha.6"
195-
tonic = "0.1.0-alpha.3"
195+
tonic = "0.1.0-alpha.4"
196196

197197
[build-dependencies]
198-
tonic-build = "0.1.0-alpha.3"
198+
tonic-build = "0.1.0-alpha.4"
199199
```
200200

201201
Create a `build.rs` file at the root of your crate:

0 commit comments

Comments
 (0)