Skip to content

Commit cbdb659

Browse files
committed
remove futures crate
1 parent 6fa08db commit cbdb659

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ readme = "README.md"
1111

1212
[dependencies]
1313
ahash = "0.8"
14-
etherparse = { version = "0.17", default-features = false, features = ["std"] }
15-
futures = "0.3"
14+
etherparse = { version = "0.18", default-features = false, features = ["std"] }
1615
log = { version = "0.4", default-features = false }
1716
rand = { version = "0.9", default-features = false, features = ["thread_rng"] }
1817
thiserror = { version = "2.0", default-features = false }

src/stream/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl Shutdown {
5050
fn fake_clone(&self) -> Shutdown {
5151
match self {
5252
Shutdown::None => Shutdown::None,
53-
Shutdown::Pending(_) => Shutdown::Pending(futures::task::noop_waker()),
53+
Shutdown::Pending(_) => Shutdown::Pending(Waker::noop().clone()),
5454
Shutdown::Ready => Shutdown::Ready,
5555
}
5656
}

0 commit comments

Comments
 (0)