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.
This commit is contained in:
Adam Harvey
2019-12-06 19:51:59 -05:00
committed by Lucio Franco
parent 0eb9991b9f
commit 48a69bb36b
+1 -1
View File
@@ -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"