1 Debian patch touch this file
| 1 | //! # Features |
| 2 | //! - `crossterm` (default): Enables the [`From<&Event>`](enum.Input.html#method.from-2) implementation for [`Input`]. |
| 3 | //! - `termion`: Enables the [`From<&Event>`](enum.Input.html#method.from-1) implementation for [`Input`]. |
| 4 | //! - `termwiz`: Enables the [`From<&InputEvent>`](enum.Input.html#method.from) implementation for [`Input`]. |
| 5 | |
| 6 | #![forbid(unsafe_code)] |
| 7 | #![warn(missing_docs)] |
| 8 | #![warn(rustdoc::missing_crate_level_docs)] |
| 9 | #![warn(rustdoc::unescaped_backticks)] |
| 10 | mod file_explorer; |
| 11 | mod input; |
| 12 | mod widget; |
| 13 | |
| 14 | pub use file_explorer::{File, FileExplorer, FileExplorerBuilder}; |
| 15 | pub use input::Input; |
| 16 | pub use widget::Theme; |
| •17 | |
| 18 | #[cfg(all(doctest, feature = "crossterm"))] |
| 19 | #[doc = include_str!("../README.md")] |
| 20 | pub struct ReadmeDoctests; |