mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 20:55:33 +00:00
feat: to no_std future module
This commit is contained in:
parent
3b9c7f0958
commit
3883079fa5
1 changed files with 3 additions and 6 deletions
|
@ -48,17 +48,14 @@
|
||||||
|
|
||||||
cfg_alloc! {
|
cfg_alloc! {
|
||||||
pub use future::Future;
|
pub use future::Future;
|
||||||
pub(crate) mod future;
|
pub use ready::ready;
|
||||||
}
|
|
||||||
|
|
||||||
cfg_std! {
|
|
||||||
pub use pending::pending;
|
pub use pending::pending;
|
||||||
pub use poll_fn::poll_fn;
|
pub use poll_fn::poll_fn;
|
||||||
pub use ready::ready;
|
|
||||||
|
|
||||||
|
pub(crate) mod future;
|
||||||
|
mod ready;
|
||||||
mod pending;
|
mod pending;
|
||||||
mod poll_fn;
|
mod poll_fn;
|
||||||
mod ready;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg_default! {
|
cfg_default! {
|
||||||
|
|
Loading…
Reference in a new issue