Merge pull request #262 from esp-rs-compat/espidf

This commit is contained in:
John Nunley 2023-08-29 07:09:15 -07:00 committed by GitHub
commit 86dad666a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -21,10 +21,12 @@ async-fs = "1.3.0"
async-io = "1.12.0"
async-lock = "2.6.0"
async-net = "1.4.3"
async-process = "1.6.0"
blocking = "1.3.0"
futures-lite = "1.11.0"
[target.'cfg(not(target_os = "espidf"))'.dependencies]
async-process = "1.6.0"
[dev-dependencies]
anyhow = "1"
async-dup = "1"

View File

@ -52,10 +52,11 @@ pub use {
};
#[doc(inline)]
pub use {
async_channel as channel, async_fs as fs, async_lock as lock, async_net as net,
async_process as process,
};
pub use {async_channel as channel, async_fs as fs, async_lock as lock, async_net as net};
#[cfg(not(target_os = "espidf"))]
#[doc(inline)]
pub use async_process as process;
mod spawn;
pub use spawn::spawn;