Skip to content

Commit

Permalink
remove url crate re-export
Browse files Browse the repository at this point in the history
the url crate is part of http-types; there is no need to re-export the full submodule from here
  • Loading branch information
yoshuawuyts committed Sep 26, 2020
1 parent 4d97d6d commit 9354422
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Expand Up @@ -92,8 +92,6 @@ pub use http_types::{self as http, Body, Error, Status, StatusCode};
#[doc(inline)]
pub use http_client::HttpClient;

pub use url;

pub use client::Client;
pub use request::Request;
pub use request_builder::RequestBuilder;
Expand Down
3 changes: 1 addition & 2 deletions src/middleware/redirect/mod.rs
Expand Up @@ -12,9 +12,8 @@
//! # Ok(()) }
//! ```

use crate::http::{headers, StatusCode};
use crate::http::{headers, StatusCode, Url};
use crate::middleware::{Middleware, Next, Request, Response};
use crate::url::Url;
use crate::{Client, Result};

// List of acceptible 300-series redirect codes.
Expand Down

0 comments on commit 9354422

Please sign in to comment.