Skip to content

Commit 0d15dad

Browse files
committed
Slight cleanup for module exporting
1 parent b2388fa commit 0d15dad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616

1717
use futures::future::BoxFuture;
1818

19-
#[cfg_attr(feature = "docs", doc(cfg(curl_client)))]
20-
#[cfg(all(feature = "hyper_client", not(target_arch = "wasm32")))]
21-
pub mod hyper;
22-
2319
#[cfg_attr(feature = "docs", doc(cfg(curl_client)))]
2420
#[cfg(all(feature = "curl_client", not(target_arch = "wasm32")))]
2521
pub mod isahc;
@@ -36,6 +32,10 @@ pub mod native;
3632
#[cfg(feature = "h1_client")]
3733
pub mod h1;
3834

35+
#[cfg_attr(feature = "docs", doc(cfg(hyper_client)))]
36+
#[cfg(feature = "hyper_client")]
37+
pub mod hyper;
38+
3939
/// An HTTP Request type with a streaming body.
4040
pub type Request = http_types::Request;
4141

0 commit comments

Comments
 (0)