From a4bd6da79c239c107cd727504a303fd3d2789148 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 27 Feb 2021 13:25:07 -0500 Subject: give smol its own named api too --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') 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; -- cgit v1.2.3-54-g00ecf