Skip to content

Commit

Permalink
Update tokio dependencies in tutorials to be compatible with tonic 0.4 (
Browse files Browse the repository at this point in the history
#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]>
  • Loading branch information
hasheddan authored Feb 2, 2021
1 parent 07d2f98 commit cb9ed18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/routeguide-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit cb9ed18

Please sign in to comment.