diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 | ||||
-rw-r--r-- | src/smol.rs | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -7,7 +7,9 @@ pub use pty::{Pty, Size}; pub mod std; -#[cfg(any(feature = "backend-async-std", feature = "backend-smol"))] +#[cfg(feature = "backend-async-std")] pub mod async_std; +#[cfg(feature = "backend-smol")] +pub mod smol; #[cfg(feature = "backend-tokio")] pub mod tokio; diff --git a/src/smol.rs b/src/smol.rs new file mode 100644 index 0000000..e91a18d --- /dev/null +++ b/src/smol.rs @@ -0,0 +1,2 @@ +pub type Child = + crate::command::Child<async_process::Child, crate::pty::async_io::Pty>; |