rusty-keys/src/lib.rs

23 lines
461 B
Rust
Raw Normal View History

2016-04-24 22:32:24 -04:00
#![recursion_limit = "1000"]
pub const NAME: &'static str = env!("CARGO_PKG_NAME");
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
2016-04-24 22:32:24 -04:00
2019-09-29 23:58:51 -04:00
pub mod error;
2016-04-24 22:32:24 -04:00
pub use error::Error;
pub type Result<T> = ::std::result::Result<T, Error>;
pub mod keymapper;
pub use keymapper::*;
2019-10-07 01:24:29 -04:00
#[cfg(target_os = "windows")]
mod windows;
#[cfg(target_os = "windows")]
pub use windows::*;
#[cfg(target_os = "linux")]
mod linux;
#[cfg(target_os = "linux")]
pub use linux::*;