Skip to content

Commit 60755fc

Browse files
committed
fix
1 parent dca7d0d commit 60755fc

File tree

1 file changed

+5
-1
lines changed
  • opentelemetry-otlp/src/exporter/http

1 file changed

+5
-1
lines changed

opentelemetry-otlp/src/exporter/http/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ mod logs;
3333
#[cfg(feature = "trace")]
3434
mod trace;
3535

36-
#[cfg(feature = "hyper-client")]
36+
#[cfg(all(
37+
not(feature = "reqwest-client"),
38+
not(feature = "reqwest-blocking-client"),
39+
feature = "hyper-client"
40+
))]
3741
use opentelemetry_http::hyper::HyperClient;
3842

3943
/// Configuration of the http transport

0 commit comments

Comments
 (0)