summaryrefslogtreecommitdiffstats
path: root/tokio-test
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-test')
-rw-r--r--tokio-test/Cargo.toml2
-rw-r--r--tokio-test/src/io.rs5
2 files changed, 4 insertions, 3 deletions
diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml
index ce9ece11..b53f9f0b 100644
--- a/tokio-test/Cargo.toml
+++ b/tokio-test/Cargo.toml
@@ -22,9 +22,9 @@ categories = ["asynchronous", "testing"]
[dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" }
tokio-executor = { version = "=0.2.0-alpha.6", path = "../tokio-executor" }
-tokio-io = { version = "=0.2.0-alpha.6", path = "../tokio-io" }
tokio-sync = { version = "=0.2.0-alpha.6", path = "../tokio-sync" }
+bytes = "0.4"
futures-core-preview = "=0.3.0-alpha.19"
pin-convert = "0.1.0"
diff --git a/tokio-test/src/io.rs b/tokio-test/src/io.rs
index 6610c1db..afd1c423 100644
--- a/tokio-test/src/io.rs
+++ b/tokio-test/src/io.rs
@@ -16,10 +16,11 @@
//! [`AsyncRead`]: tokio_io::AsyncRead
//! [`AsyncWrite`]: tokio_io::AsyncWrite
+use tokio::io::{AsyncRead, AsyncWrite};
+use tokio::sync::mpsc;
use tokio::timer::{clock, timer, Delay};
-use tokio_io::{AsyncRead, AsyncWrite, Buf};
-use tokio_sync::mpsc;
+use bytes::Buf;
use futures_core::ready;
use std::collections::VecDeque;
use std::future::Future;