Skip to content

Commit 168bfa6

Browse files
authored
Reduce futures crate dependency (#156)
1 parent ad7d00d commit 168bfa6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ webpki-roots = {version = "0.26.0", optional = true}
3535
[dev-dependencies]
3636
anyhow = "1.0.61"
3737
env_logger = "0.10.0"
38-
futures = "0.3.23"
39-
futures-util = "0.3.23"
38+
futures-util = {version = "0.3.23", default-features = false}
4039
http02 = {package = "http", version = "0.2"}
4140
hyper = "0.14.20"
4241
lazy_static = "1.4.0"

tests/tools/tls.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ use std::io::{self, BufReader, Cursor, Read};
77
use std::path::PathBuf;
88
use std::pin::Pin;
99
use std::sync::Arc;
10-
use std::task::{Context, Poll};
10+
use std::task::{Context, Poll, ready};
1111

12-
use futures::ready;
1312
use hyper::server::accept::Accept;
1413
use hyper::server::conn::{AddrIncoming, AddrStream};
1514
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};

0 commit comments

Comments
 (0)