From 9af614e5f7613da9f783cfd809ab221c8050435d Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Mon, 30 Sep 2019 19:36:18 -0400 Subject: [PATCH] fix examples --- tonic-examples/Cargo.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tonic-examples/Cargo.toml b/tonic-examples/Cargo.toml index c360a6d..2acdda9 100644 --- a/tonic-examples/Cargo.toml +++ b/tonic-examples/Cargo.toml @@ -46,16 +46,19 @@ path = "src/tls/server.rs" [dependencies] tonic = { path = "../tonic", features = ["rustls"] } -futures-preview = { version = "=0.3.0-alpha.18", default-features = false, features = ["alloc"]} -tokio = "=0.2.0-alpha.4" +bytes = "0.4" prost = "0.5" prost-derive = "0.5" -bytes = "0.4" -serde_json = "1.0" -serde = { version = "1.0", features = ["derive"] } + +tokio = "=0.2.0-alpha.4" +futures-preview = { version = "=0.3.0-alpha.18", default-features = false, features = ["alloc"]} async-stream = "0.1.1" http = "0.1" tower = "0.3.0-alpha.1a" +# Required for routeguide +serde = { version = "0.1", features = ["derive"] } +serde_json = "0.1" + [build-dependencies] tonic-build = { path = "../tonic-build" }