mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-30 09:15: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! {
|
||||
pub use future::Future;
|
||||
pub(crate) mod future;
|
||||
}
|
||||
|
||||
cfg_std! {
|
||||
pub use ready::ready;
|
||||
pub use pending::pending;
|
||||
pub use poll_fn::poll_fn;
|
||||
pub use ready::ready;
|
||||
|
||||
pub(crate) mod future;
|
||||
mod ready;
|
||||
mod pending;
|
||||
mod poll_fn;
|
||||
mod ready;
|
||||
}
|
||||
|
||||
cfg_default! {
|
||||
|
|
Loading…
Reference in a new issue