executor: move current-thread into crate (#1447)

The `CurrentThread` executor is exposed using a feature flag.

Refs: #1264
This commit is contained in:
Carl Lerche
2019-08-15 09:52:25 -07:00
committed by GitHub
parent 8d55f98f6f
commit 9de7083be8
25 changed files with 110 additions and 174 deletions
+3
View File
@@ -64,6 +64,9 @@ mod global;
pub mod park;
mod typed;
#[cfg(feature = "current-thread")]
pub mod current_thread;
pub use crate::enter::{enter, exit, Enter, EnterError};
pub use crate::error::SpawnError;
pub use crate::executor::Executor;