aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-27 13:25:07 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-27 13:25:07 -0500
commita4bd6da79c239c107cd727504a303fd3d2789148 (patch)
tree992bb65e1d80e0290a73d2e6848e6f96adea0aea /src/lib.rs
parentdb4a7d7d32b702736940aa0bd8d11c2ed8645b99 (diff)
downloadpty-process-a4bd6da79c239c107cd727504a303fd3d2789148.tar.gz
pty-process-a4bd6da79c239c107cd727504a303fd3d2789148.zip
give smol its own named api too
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f16dcc9..42c39f4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;