enable new tracing instrumentation in tokio

This commit is contained in:
Jane Lusby 2020-07-22 11:02:56 -07:00 committed by Deirdre Connolly
parent e105b4f6c5
commit a722cf33f7
5 changed files with 5 additions and 4 deletions

1
Cargo.lock generated
View File

@ -2096,6 +2096,7 @@ dependencies = [
"signal-hook-registry",
"slab",
"tokio-macros",
"tracing",
"winapi 0.3.9",
]

View File

@ -6,7 +6,7 @@ license = "MIT"
edition = "2018"
[dependencies]
tokio = { version = "0.2", features = ["time", "sync", "stream"] }
tokio = { version = "0.2.22", features = ["time", "sync", "stream", "tracing"] }
tower = "0.3"
futures-core = "0.3.5"
pin-project = "0.4.20"

View File

@ -11,7 +11,7 @@ futures = "0.3.5"
futures-util = "0.3.5"
rand = "0.7"
redjubjub = "0.2"
tokio = { version = "0.2", features = ["time", "sync", "stream"] }
tokio = { version = "0.2.22", features = ["time", "sync", "stream", "tracing"] }
tower = "0.3"
tracing = "0.1.16"
tracing-futures = "0.2.4"

View File

@ -22,7 +22,7 @@ serde = { version = "1", features = ["serde_derive"] }
thiserror = "1"
futures = "0.3"
tokio = { version = "0.2", features = ["net", "time", "stream"] }
tokio = { version = "0.2.22", features = ["net", "time", "stream", "tracing"] }
tokio-util = { version = "0.2", features = ["codec"] }
tower = "0.3"
tower-load = "0.3"

View File

@ -21,7 +21,7 @@ rand = "0.7"
hyper = "0.13.7"
futures = "0.3"
tokio = { version = "0.2", features = ["time", "rt-threaded", "stream", "macros"] }
tokio = { version = "0.2.22", features = ["time", "rt-threaded", "stream", "macros", "tracing"] }
tower = "0.3"
color-eyre = "0.5"