executor: move into tokio crate (#1702)

A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).

The executor implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
This commit is contained in:
Carl Lerche
2019-10-28 21:40:29 -07:00
committed by GitHub
parent 7eb264a0d0
commit c62ef2d232
101 changed files with 387 additions and 690 deletions
+1 -1
View File
@@ -22,9 +22,9 @@
//! });
//! ```
use tokio::executor::park::{Park, Unpark};
use tokio::timer::clock::{Clock, Now};
use tokio::timer::Timer;
use tokio_executor::park::{Park, Unpark};
use std::marker::PhantomData;
use std::rc::Rc;
+1 -1
View File
@@ -1,6 +1,6 @@
//! Futures task based helpers
use tokio_executor::enter;
use tokio::executor::enter;
use pin_convert::AsPinMut;
use std::future::Future;