From 729f4f09a8b70bd8109c8e2d05473da169fe991a Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Mon, 22 Feb 2021 12:25:41 +1100 Subject: [PATCH] Remove unnecessary tracing_core dependency --- Cargo.lock | 1 - swap/Cargo.toml | 1 - swap/tests/testutils/mod.rs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 47484317..17faa5ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3514,7 +3514,6 @@ dependencies = [ "tokio-tungstenite", "toml", "tracing", - "tracing-core", "tracing-futures", "tracing-log", "tracing-subscriber", diff --git a/swap/Cargo.toml b/swap/Cargo.toml index 8d692754..95df1229 100644 --- a/swap/Cargo.toml +++ b/swap/Cargo.toml @@ -57,7 +57,6 @@ tokio = { version = "1.0", features = ["rt-multi-thread", "time", "macros", "syn tokio-tungstenite = { version = "0.13", features = [ "tls" ] } toml = "0.5" tracing = { version = "0.1", features = ["attributes"] } -tracing-core = "0.1" tracing-futures = { version = "0.2", features = ["std-future", "futures-03"] } tracing-log = "0.1" tracing-subscriber = { version = "0.2", default-features = false, features = ["fmt", "ansi", "env-filter"] } diff --git a/swap/tests/testutils/mod.rs b/swap/tests/testutils/mod.rs index 02464e39..392d1ba8 100644 --- a/swap/tests/testutils/mod.rs +++ b/swap/tests/testutils/mod.rs @@ -27,7 +27,7 @@ use swap::{ use tempfile::tempdir; use testcontainers::{clients::Cli, Container, Docker, RunArgs}; use tokio::{sync::mpsc, task::JoinHandle, time::interval}; -use tracing_core::dispatcher::DefaultGuard; +use tracing::dispatcher::DefaultGuard; use tracing_log::LogTracer; use url::Url; use uuid::Uuid;