Skip to content

Commit 34a8b83

Browse files
committed
see if we can conditionally use blocking
1 parent dde5927 commit 34a8b83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opentelemetry-http/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ mod reqwest {
108108
}
109109

110110
#[cfg(not(target_arch = "wasm32"))]
111+
#[cfg(feature = "reqwest-blocking")]
111112
#[async_trait]
112113
impl HttpClient for reqwest::blocking::Client {
113114
async fn send_bytes(&self, request: Request<Bytes>) -> Result<Response<Bytes>, HttpError> {

0 commit comments

Comments
 (0)