Skip to content

Commit

Permalink
Merge pull request #262 from esp-rs-compat/espidf
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull authored Aug 29, 2023
2 parents 2ca5cd5 + 5d51de0 commit 86dad66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 5 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 86dad66

Please sign in to comment.