diff --git a/Cargo.toml b/Cargo.toml index 0d4deae..dd0adaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,6 @@ include = [ [dependencies] hyper = "0.13" -futures = "0.3" lazy_static = "1.4" unicase = "2.6" diff --git a/src/lib.rs b/src/lib.rs index 331f3de..83a4678 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,6 @@ //! [dependencies] //! hyper-reverse-proxy = "0.5" //! hyper = "0.13" -//! futures = "0.3" //! tokio = { version = "0.2", features = ["full"] } //! ``` //! @@ -36,7 +35,6 @@ //! use hyper::server::conn::AddrStream; //! use hyper::{Body, Request, Response, Server, StatusCode}; //! use hyper::service::{service_fn, make_service_fn}; -//! use futures::future::{self, Future}; //! use std::{convert::Infallible, net::SocketAddr}; //! use hyper::http::uri::InvalidUri; //! use std::net::IpAddr;