From a722cf33f747058e2af5a14df788aca42e0ce3ad Mon Sep 17 00:00:00 2001 From: Jane Lusby Date: Wed, 22 Jul 2020 11:02:56 -0700 Subject: [PATCH] enable new tracing instrumentation in tokio --- Cargo.lock | 1 + tower-batch/Cargo.toml | 2 +- zebra-consensus/Cargo.toml | 2 +- zebra-network/Cargo.toml | 2 +- zebrad/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65022d90..ad51097f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2096,6 +2096,7 @@ dependencies = [ "signal-hook-registry", "slab", "tokio-macros", + "tracing", "winapi 0.3.9", ] diff --git a/tower-batch/Cargo.toml b/tower-batch/Cargo.toml index 3cd70545..428d4297 100644 --- a/tower-batch/Cargo.toml +++ b/tower-batch/Cargo.toml @@ -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" diff --git a/zebra-consensus/Cargo.toml b/zebra-consensus/Cargo.toml index 58a50d47..94d09ce5 100644 --- a/zebra-consensus/Cargo.toml +++ b/zebra-consensus/Cargo.toml @@ -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" diff --git a/zebra-network/Cargo.toml b/zebra-network/Cargo.toml index aeb9029e..91531291 100644 --- a/zebra-network/Cargo.toml +++ b/zebra-network/Cargo.toml @@ -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" diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index 16d53ac2..41b86918 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -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"