1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![warn(rust_2018_idioms)]
#![cfg(windows)]

#[cfg(all(feature = "ergo", feature = "raw"))]
compile_error!("ergo support and raw support are exclusive. only one of them can be enabled at the same time.");


#[cfg(not(feature = "raw"))]
pub mod ergo;
#[cfg(not(feature = "raw"))]
pub use ergo::*;

#[cfg(not(feature = "raw"))]
mod raw;
#[cfg(feature = "raw")]
pub mod raw;