From 17b7a0ae0592eda542e9c7bc96cb885cb82c46bc Mon Sep 17 00:00:00 2001 From: D1plo1d Date: Mon, 26 Aug 2019 15:36:15 -0400 Subject: [PATCH] Bumped tokio to 0.2.0-alpha.2 --- Cargo.toml | 10 +++++----- rust-toolchain | 1 + src/lib.rs | 5 ++++- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 rust-toolchain diff --git a/Cargo.toml b/Cargo.toml index ab3ce54..677709b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-serial" -version = "3.3.0-tokio-0.2.0-alpha.1" +version = "3.3.0-tokio-0.2.0-alpha.2" authors = ["Zac Berkowitz "] description = "A serial port implementation for tokio" license = "MIT" @@ -21,12 +21,12 @@ default = ["libudev"] libudev = ["mio-serial/libudev"] [dependencies] -tokio-io = "0.2.0-alpha.1" -tokio-reactor = "0.2.0-alpha.1" +tokio-io = "0.2.0-alpha.2" +tokio-net = "0.2.0-alpha.2" bytes = "0.4" mio = "0.6" mio-serial = { version = "=3.3.0", default-features = false } [dev-dependencies] -futures-preview = "=0.3.0-alpha.17" -tokio = "0.2.0-alpha.1" +futures-preview = "=0.3.0-alpha.18" +tokio = "0.2.0-alpha.2" diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000..2b1959f --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +nightly-2019-08-25 diff --git a/src/lib.rs b/src/lib.rs index 009b367..4a3fb4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,10 @@ pub use mio_serial::{ pub type Result = mio_serial::Result; use tokio_io::{AsyncRead, AsyncWrite}; -use tokio_reactor::{Handle, PollEvented}; +use tokio_net::{ + util::PollEvented, + driver::Handle, +}; use std::io::{self, Read, Write}; use std::path::Path;