Sha256: 1449926cc046d2ae9f86a263efd9353ca8e174ea546c083b360136c5a2aef1d1
Contents?: true
Size: 463 Bytes
Versions: 27
Compression:
Stored size: 463 Bytes
Contents
#![cfg(feature = "compat")] #![cfg(not(miri))] // Miri does not support epoll use futures::compat::Future01CompatExt; use futures::prelude::*; use std::time::Instant; use tokio::runtime::Runtime; use tokio::timer::Delay; #[test] fn can_use_01_futures_in_a_03_future_running_on_a_01_executor() { let f = async { Delay::new(Instant::now()).compat().await }; let mut runtime = Runtime::new().unwrap(); runtime.block_on(f.boxed().compat()).unwrap(); }
Version data entries
27 entries across 27 versions & 1 rubygems