1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Futures 0.1 / 0.3 shims #![allow(missing_debug_implementations)] mod executor; pub use self::executor::{Executor01CompatExt, Executor01Future, Executor01As03}; mod compat01as03; pub use self::compat01as03::{Compat01As03, Future01CompatExt, Stream01CompatExt}; mod compat03as01; pub use self::compat03as01::Compat; #[cfg(feature = "tokio-compat")] mod tokio; #[cfg(feature = "tokio-compat")] pub use self::tokio::TokioDefaultSpawner;