Skip to content

Commit b12a2c5

Browse files
committed
fix: missing thiserror crate when building with --no-default-features
1 parent 902baa9 commit b12a2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ rustdoc-args = ["--cfg", "docsrs"]
2424
futures-core = { workspace = true, optional = true }
2525
futures-sink = { version = "0.3", optional = true }
2626
pin-project-lite = { workspace = true, optional = true }
27-
thiserror = { workspace = true, optional = true}
27+
thiserror = { workspace = true }
2828
tracing = {workspace = true, optional = true} # optional for opentelemetry internal logging
2929

3030
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
3131
js-sys = "0.3.63"
3232

3333
[features]
3434
default = ["trace", "metrics", "logs", "internal-logs"]
35-
trace = ["pin-project-lite", "futures-sink", "futures-core", "thiserror"]
35+
trace = ["pin-project-lite", "futures-sink", "futures-core"]
3636
metrics = []
3737
testing = ["trace", "metrics"]
3838
logs = []

0 commit comments

Comments
 (0)