Skip to content

Commit 7cd48f4

Browse files
committed
fix: Correctly only set http transport alias when http transport is available
1 parent b10d070 commit 7cd48f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/transport.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,5 @@ type DefaultTransport = ReqwestHttpTransport;
426426
type DefaultTransport = CurlHttpTransport;
427427

428428
/// The default http transport.
429+
#[cfg(any(feature = "with_reqwest_transport", feature = "with_curl_transport"))]
429430
pub type HttpTransport = DefaultTransport;

0 commit comments

Comments
 (0)