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 <[email protected]>
This commit is contained in:
Daniel Mangum
2021-02-02 14:22:03 -05:00
committed by GitHub
parent 07d2f9825f
commit cb9ed18518
+1 -1
View File
@@ -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"] }