Support for the ESP-IDF framework

This commit is contained in:
imarkov 2021-09-22 14:02:58 +03:00 committed by ivmarkov
parent 084a207cf1
commit 5d51de0bd5
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;