File tree Expand file tree Collapse file tree 4 files changed +40
-3
lines changed Expand file tree Collapse file tree 4 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ cfg_default! {
313313
314314cfg_unstable ! {
315315 pub mod pin;
316- #[ cfg( not( target_os = "unknown" ) ) ]
316+ #[ cfg( all ( not( target_os = "unknown" ) , feature = "std ") ) ]
317317 pub mod process;
318318
319319 mod unit;
Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ cfg_default! {
88 pub mod fs;
99 pub mod net;
1010}
11+
12+ #[ cfg( all( feature = "unstable" , feature = "std" ) ) ]
13+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
14+ #[ doc( inline) ]
15+ pub use async_process:: unix as process;
Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ cfg_unstable! {
88 #[ cfg( feature = "default" ) ]
99 pub mod fs;
1010}
11+
12+ #[ cfg( all( feature = "unstable" , feature = "std" ) ) ]
13+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
14+ #[ doc( inline) ]
15+ pub use async_process:: windows as process;
Original file line number Diff line number Diff line change 77//!
88//! [`std::process`]: https://doc.rust-lang.org/std/process/index.html
99
10- #[ cfg( feature = "unstable" ) ]
1110#[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
1211#[ doc( inline) ]
13- pub use async_process:: * ;
12+ pub use async_process:: ExitStatus ;
13+
14+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
15+ #[ doc( inline) ]
16+ pub use async_process:: Output ;
17+
18+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
19+ #[ doc( inline) ]
20+ pub use async_process:: Stdio ;
21+
22+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
23+ #[ doc( inline) ]
24+ pub use async_process:: Child ;
25+
26+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
27+ #[ doc( inline) ]
28+ pub use async_process:: ChildStderr ;
29+
30+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
31+ #[ doc( inline) ]
32+ pub use async_process:: ChildStdin ;
33+
34+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
35+ #[ doc( inline) ]
36+ pub use async_process:: ChildStdout ;
37+
38+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
39+ #[ doc( inline) ]
40+ pub use async_process:: Command ;
You can’t perform that action at this time.
0 commit comments