Skip to content

Commit aea8a1a

Browse files
committed
make thiserror optional
1 parent 821315e commit aea8a1a

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 }
27+
thiserror = { workspace = true, optional = 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"]
35-
trace = ["pin-project-lite", "futures-sink", "futures-core"]
35+
trace = ["pin-project-lite", "futures-sink", "futures-core", "thiserror"]
3636
metrics = []
3737
testing = ["trace", "metrics"]
3838
logs = []

0 commit comments

Comments
 (0)