From 3e455e168079232e535276f3b3fb1c9b1514d3ec Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Tue, 7 Jan 2025 15:11:48 +0100 Subject: [PATCH] problem & non-solution: cargo hakari enables tokio/tracing feature --- Cargo.toml | 3 --- libs/utils/Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3c19ee9a4b..197808d5ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,6 @@ cfg-if = "1.0.0" chrono = { version = "0.4", default-features = false, features = ["clock"] } clap = { version = "4.0", features = ["derive", "env"] } comfy-table = "7.1" -console-subscriber = "0.4.1" const_format = "0.2" crc32c = "0.6" dashmap = { version = "5.5.0", features = ["raw-api"] } @@ -190,9 +189,7 @@ toml_edit = "0.22" tonic = {version = "0.12.3", features = ["tls", "tls-roots"]} tower-service = "0.3.2" tracing = "0.1" -tracing-chrome = "0.7.2" tracing-error = "0.2" -tracing-flame = "0.2.0" tracing-opentelemetry = "0.27" tracing-subscriber = { version = "0.3", default-features = false, features = ["smallvec", "fmt", "tracing-log", "std", "env-filter", "json"] } try-lock = "0.2.5" diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index b3d0b82ff0..2b852392e8 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -24,7 +24,7 @@ bincode.workspace = true bytes.workspace = true camino.workspace = true chrono.workspace = true -console-subscriber = {workspace = true, optional = true} +console-subscriber = { version = "0.4.1", optional = true } diatomic-waker.workspace = true flate2.workspace = true git-version.workspace = true @@ -52,9 +52,9 @@ tokio-tar.workspace = true tokio-util.workspace = true toml_edit = { workspace = true, features = ["serde"] } tracing.workspace = true -tracing-chrome = { workspace = true, optional = true } +tracing-chrome = { version = "0.7.2", optional = true } tracing-error.workspace = true -tracing-flame = { workspace = true, optional = true } +tracing-flame = { version = "0.2.0", optional = true } tracing-subscriber = { workspace = true, features = ["json", "registry"] } rand.workspace = true scopeguard.workspace = true