Skip to content

Commit

Permalink
Depend on futures-util
Browse files Browse the repository at this point in the history
Instead of futures. Also limit needed features to minimal.
  • Loading branch information
oll3 committed Jan 13, 2021
1 parent ec25d8a commit a3dd234
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ categories = ["filesystem", "asynchronous", "os", "network-programming"]
[dependencies]
async-trait = "0.1"
byteorder = "1.4"
futures = "0.3"
futures-util = { version = "0.3", default-features = false }
nix = "0.19"
tokio = { version = "1.0", features = ["io-util", "fs", "net"] }
tokio = { version = "1.0" }

[dev-dependencies]
tokio = { version = "1.0", features = ["io-util", "fs", "net", "rt-multi-thread", "rt", "macros"] }
Expand Down
2 changes: 1 addition & 1 deletion src/device.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use async_trait::async_trait;
use core::pin::Pin;
use core::task::{Context, Poll};
use futures::stream::{Stream, StreamExt};
use futures_util::stream::{Stream, StreamExt};
use std::io;
use std::os::unix::io::AsRawFd;
use std::path::Path;
Expand Down

0 comments on commit a3dd234

Please sign in to comment.