From cb9ed1851873343ca77f5b9254bfb1d0835d80ed Mon Sep 17 00:00:00 2001 From: Daniel Mangum <31777345+hasheddan@users.noreply.github.com> Date: Tue, 2 Feb 2021 13:22:03 -0600 Subject: [PATCH] Update tokio dependencies in tutorials to be compatible with tonic 0.4 (#549) Bumps routeguide tutorial dependency to tokio 1.0 for compatability with tonic 0.4. Also adds required rt-multi-thread feature and drops unused and now unsupported stream feature. Signed-off-by: hasheddan --- examples/routeguide-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/routeguide-tutorial.md b/examples/routeguide-tutorial.md index a356232..428d1de 100644 --- a/examples/routeguide-tutorial.md +++ b/examples/routeguide-tutorial.md @@ -184,7 +184,7 @@ tonic = "0.4" prost = "0.7" futures-core = "0.3" futures-util = "0.3" -tokio = { version = "0.2", features = ["macros", "sync", "stream", "time"] } +tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] } async-stream = "0.2" serde = { version = "1.0", features = ["derive"] }