swayipc_types/lib.rs
1#![deny(unsafe_code)]
2#![deny(rust_2018_idioms)]
3
4mod command;
5#[cfg(feature = "error")]
6mod error;
7mod event;
8mod reply;
9mod utils;
10
11pub use command::CommandType;
12#[cfg(feature = "error")]
13pub use error::{Error, Fallible};
14pub use event::EventType;
15pub use reply::*;
16
17pub const MAGIC: [u8; 6] = [105, 51, 45, 105, 112, 99];