From 65ef5a83d9a211fc8103db520285d5c53d40b5ae Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Sat, 26 Oct 2019 22:44:01 -0400 Subject: [PATCH] chore(docs): Bump tonic versions in tutorials (#96) --- tonic-examples/helloworld-tutorial.md | 4 ++-- tonic-examples/routeguide-tutorial.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tonic-examples/helloworld-tutorial.md b/tonic-examples/helloworld-tutorial.md index b01608bbd..4ae80b8e2 100644 --- a/tonic-examples/helloworld-tutorial.md +++ b/tonic-examples/helloworld-tutorial.md @@ -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: diff --git a/tonic-examples/routeguide-tutorial.md b/tonic-examples/routeguide-tutorial.md index 0763608a2..19c836395 100644 --- a/tonic-examples/routeguide-tutorial.md +++ b/tonic-examples/routeguide-tutorial.md @@ -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: