process: Update to tokio-io, mio, and tokio-core changes

This commit is contained in:
Alex Crichton
2019-06-24 16:56:49 -07:00
committed by Ivan Petkov
parent 521dc94021
commit 1384b31d60
5 changed files with 37 additions and 18 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
extern crate futures;
#[macro_use]
extern crate tokio_core;
extern crate tokio_io;
extern crate tokio_process;
#[macro_use]
extern crate log;
@@ -9,9 +10,9 @@ extern crate env_logger;
use std::io;
use std::process::{Stdio, ExitStatus, Command};
use futures::{Future, BoxFuture};
use futures::future::{BoxFuture, Future};
use futures::stream::{self, Stream};
use tokio_core::io::{read_until, write_all, read_to_end};
use tokio_io::io::{read_until, write_all, read_to_end};
use tokio_core::reactor::Core;
use tokio_process::{CommandExt, Child};