File tree 4 files changed +40
-3
lines changed
4 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ cfg_default! {
313
313
314
314
cfg_unstable ! {
315
315
pub mod pin;
316
- #[ cfg( not( target_os = "unknown" ) ) ]
316
+ #[ cfg( all ( not( target_os = "unknown" ) , feature = "std ") ) ]
317
317
pub mod process;
318
318
319
319
mod unit;
Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ cfg_default! {
8
8
pub mod fs;
9
9
pub mod net;
10
10
}
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! {
8
8
#[ cfg( feature = "default" ) ]
9
9
pub mod fs;
10
10
}
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 7
7
//!
8
8
//! [`std::process`]: https://doc.rust-lang.org/std/process/index.html
9
9
10
- #[ cfg( feature = "unstable" ) ]
11
10
#[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
12
11
#[ 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