From 48a69bb36b93f09cc8c2b71371094be66122b769 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Fri, 6 Dec 2019 16:51:59 -0800 Subject: [PATCH] chore(examples): enable the macros feature for tokio::main (#166) tokio 0.2 split out its macros into a feature that is disabled by default, so we'll re-enable it to allow example builds to work once more. --- tonic-examples/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tonic-examples/Cargo.toml b/tonic-examples/Cargo.toml index 95f5ade..615b194 100644 --- a/tonic-examples/Cargo.toml +++ b/tonic-examples/Cargo.toml @@ -71,7 +71,7 @@ tonic = { path = "../tonic", features = ["tls"] } bytes = "0.4" prost = "0.5" -tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs"] } +tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros"] } futures = { version = "0.3", default-features = false, features = ["alloc"]} async-stream = "0.2" http = "0.2"