mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-23 08:46:46 +00:00
manual reexports
This commit is contained in:
parent
1f6bb8b01a
commit
7b896c0bf4
4 changed files with 40 additions and 3 deletions
|
@ -313,7 +313,7 @@ cfg_default! {
|
||||||
|
|
||||||
cfg_unstable! {
|
cfg_unstable! {
|
||||||
pub mod pin;
|
pub mod pin;
|
||||||
#[cfg(not(target_os = "unknown"))]
|
#[cfg(all(not(target_os = "unknown"), feature = "std"))]
|
||||||
pub mod process;
|
pub mod process;
|
||||||
|
|
||||||
mod unit;
|
mod unit;
|
||||||
|
|
|
@ -8,3 +8,8 @@ cfg_default! {
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
pub mod net;
|
pub mod net;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(all(feature = "unstable", feature = "std"))]
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::unix as process;
|
||||||
|
|
|
@ -8,3 +8,8 @@ cfg_unstable! {
|
||||||
#[cfg(feature = "default")]
|
#[cfg(feature = "default")]
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(all(feature = "unstable", feature = "std"))]
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::windows as process;
|
||||||
|
|
|
@ -7,7 +7,34 @@
|
||||||
//!
|
//!
|
||||||
//! [`std::process`]: https://doc.rust-lang.org/std/process/index.html
|
//! [`std::process`]: https://doc.rust-lang.org/std/process/index.html
|
||||||
|
|
||||||
#[cfg(feature = "unstable")]
|
|
||||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use async_process::*;
|
pub use async_process::ExitStatus;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::Output;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::Stdio;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::Child;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::ChildStderr;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::ChildStdin;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::ChildStdout;
|
||||||
|
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use async_process::Command;
|
||||||
|
|
Loading…
Reference in a new issue