From b12a2c51af43664a8338d8f1ac26a825fd6c7df9 Mon Sep 17 00:00:00 2001 From: Albrecht Date: Tue, 10 Dec 2024 15:36:55 +0100 Subject: [PATCH] fix: missing `thiserror` crate when building with `--no-default-features` --- opentelemetry/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry/Cargo.toml b/opentelemetry/Cargo.toml index cf89a51bb0..d334ecc26b 100644 --- a/opentelemetry/Cargo.toml +++ b/opentelemetry/Cargo.toml @@ -24,7 +24,7 @@ rustdoc-args = ["--cfg", "docsrs"] futures-core = { workspace = true, optional = true } futures-sink = { version = "0.3", optional = true } pin-project-lite = { workspace = true, optional = true } -thiserror = { workspace = true, optional = true} +thiserror = { workspace = true } tracing = {workspace = true, optional = true} # optional for opentelemetry internal logging [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies] @@ -32,7 +32,7 @@ js-sys = "0.3.63" [features] default = ["trace", "metrics", "logs", "internal-logs"] -trace = ["pin-project-lite", "futures-sink", "futures-core", "thiserror"] +trace = ["pin-project-lite", "futures-sink", "futures-core"] metrics = [] testing = ["trace", "metrics"] logs = []