1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#[cfg(windows)] extern crate crossterm_winapi; #[cfg(unix)] extern crate libc; #[cfg(windows)] extern crate winapi; pub mod error; pub mod macros; pub mod sys; mod functions; pub use self::error::{ErrorKind, Result}; #[cfg(windows)] pub use self::functions::supports_ansi;