remove futures dependency
This commit is contained in:
parent
55103945a7
commit
d109fcbd62
@ -20,7 +20,6 @@ include = [
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hyper = "0.13"
|
hyper = "0.13"
|
||||||
futures = "0.3"
|
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
unicase = "2.6"
|
unicase = "2.6"
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! hyper-reverse-proxy = "0.5"
|
//! hyper-reverse-proxy = "0.5"
|
||||||
//! hyper = "0.13"
|
//! hyper = "0.13"
|
||||||
//! futures = "0.3"
|
|
||||||
//! tokio = { version = "0.2", features = ["full"] }
|
//! tokio = { version = "0.2", features = ["full"] }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
@ -36,7 +35,6 @@
|
|||||||
//! use hyper::server::conn::AddrStream;
|
//! use hyper::server::conn::AddrStream;
|
||||||
//! use hyper::{Body, Request, Response, Server, StatusCode};
|
//! use hyper::{Body, Request, Response, Server, StatusCode};
|
||||||
//! use hyper::service::{service_fn, make_service_fn};
|
//! use hyper::service::{service_fn, make_service_fn};
|
||||||
//! use futures::future::{self, Future};
|
|
||||||
//! use std::{convert::Infallible, net::SocketAddr};
|
//! use std::{convert::Infallible, net::SocketAddr};
|
||||||
//! use hyper::http::uri::InvalidUri;
|
//! use hyper::http::uri::InvalidUri;
|
||||||
//! use std::net::IpAddr;
|
//! use std::net::IpAddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user