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:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user