feat: add process module

Reexport based on async-process
pull/916/head
dignifiedquire 4 years ago
parent 73035006dc
commit 1f6bb8b01a

@ -37,7 +37,8 @@ default = [
docs = ["attributes", "unstable", "default"]
unstable = [
"std",
"async-io"
"async-io",
"async-process",
]
attributes = ["async-attributes"]
std = [
@ -74,6 +75,7 @@ once_cell = { version = "1.3.1", optional = true }
pin-project-lite = { version = "0.2.0", optional = true }
pin-utils = { version = "0.1.0-alpha.4", optional = true }
slab = { version = "0.4.2", optional = true }
async-process = { version = "1.0.1", optional = true }
# Devdepencency, but they are not allowed to be optional :/
surf = { version = "2.0.0", optional = true }

@ -7,8 +7,7 @@
//!
//! [`std::process`]: https://doc.rust-lang.org/std/process/index.html
// Re-export structs.
pub use std::process::{ExitStatus, Output};
// Re-export functions.
pub use std::process::{abort, exit, id};
#[cfg(feature = "unstable")]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[doc(inline)]
pub use async_process::*;
Loading…
Cancel
Save