-
Notifications
You must be signed in to change notification settings - Fork 605
/
lib.rs
30 lines (23 loc) · 913 Bytes
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![cfg(nightly)]
#![no_std]
#[cfg(feature = "futures-core-alloc")]
#[cfg(target_has_atomic = "ptr")]
pub use futures_core::task::__internal::AtomicWaker as _;
#[cfg(feature = "futures-task-alloc")]
#[cfg(target_has_atomic = "ptr")]
pub use futures_task::ArcWake as _;
#[cfg(feature = "futures-channel-alloc")]
#[cfg(target_has_atomic = "ptr")]
pub use futures_channel::oneshot as _;
#[cfg(any(feature = "futures", feature = "futures-alloc"))]
#[cfg(target_has_atomic = "ptr")]
pub use futures::task::AtomicWaker as _;
#[cfg(feature = "futures-alloc")]
#[cfg(target_has_atomic = "ptr")]
pub use futures::stream::FuturesOrdered as _;
#[cfg(any(feature = "futures-util", feature = "futures-util-alloc"))]
#[cfg(target_has_atomic = "ptr")]
pub use futures_util::task::AtomicWaker as _;
#[cfg(feature = "futures-util-alloc")]
#[cfg(target_has_atomic = "ptr")]
pub use futures_util::stream::FuturesOrdered as _;