Make ResponseBuilderExt not target-dependent

This commit is contained in:
Jonas Platte
2021-08-25 10:57:10 +02:00
committed by Sean McArthur
parent 3879694c09
commit 1be9c34f01
4 changed files with 50 additions and 38 deletions

View File

@@ -226,9 +226,11 @@ pub use url::Url;
#[macro_use]
mod error;
mod into_url;
mod response;
pub use self::error::{Error, Result};
pub use self::into_url::IntoUrl;
pub use self::response::ResponseBuilderExt;
/// Shortcut method to quickly make a `GET` request.
///
@@ -294,7 +296,7 @@ if_hyper! {
doctest!("../README.md");
pub use self::async_impl::{
Body, Client, ClientBuilder, Request, RequestBuilder, Response, ResponseBuilderExt,
Body, Client, ClientBuilder, Request, RequestBuilder, Response,
};
pub use self::proxy::Proxy;
#[cfg(feature = "__tls")]