diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-03 02:21:24 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-03 02:21:24 -0500 |
commit | c4df4e065955ac20fd6b2d6a3e52be2f91848743 (patch) | |
tree | b9649f0f6bd626dc025b4a681df59a7a390429ec | |
parent | 53dbbd035ffe86e4655c3afd36faa5752ded0737 (diff) | |
download | pty-process-c4df4e065955ac20fd6b2d6a3e52be2f91848743.tar.gz pty-process-c4df4e065955ac20fd6b2d6a3e52be2f91848743.zip |
actually conditionalize on the backend-std feature
-rw-r--r-- | src/command.rs | 4 | ||||
-rw-r--r-- | src/lib.rs | 4 | ||||
-rw-r--r-- | src/pty.rs | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/command.rs b/src/command.rs index 2f68786..d6c4b2d 100644 --- a/src/command.rs +++ b/src/command.rs @@ -3,10 +3,10 @@ use crate::pty::Pty as _; use ::std::os::unix::io::AsRawFd as _; -mod std; - #[cfg(any(feature = "backend-async-std", feature = "backend-smol"))] mod async_process; +#[cfg(feature = "backend-std")] +mod std; #[cfg(feature = "backend-tokio")] mod tokio; @@ -5,11 +5,11 @@ pub use error::{Error, Result}; mod pty; pub use pty::Size; -pub mod std; - #[cfg(feature = "backend-async-std")] pub mod async_std; #[cfg(feature = "backend-smol")] pub mod smol; +#[cfg(feature = "backend-std")] +pub mod std; #[cfg(feature = "backend-tokio")] pub mod tokio; @@ -2,10 +2,10 @@ use crate::error::*; use ::std::os::unix::io::IntoRawFd as _; -pub mod std; - #[cfg(any(feature = "backend-async-std", feature = "backend-smol"))] pub mod async_io; +#[cfg(feature = "backend-std")] +pub mod std; #[cfg(feature = "backend-tokio")] pub mod tokio; |