everything_sdk/lib.rs
1#![warn(rust_2018_idioms)]
2#![cfg(windows)]
3
4// We don't need this in Rust 1.80 (Ref: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html)
5// #[cfg(all(feature = "ergo", feature = "raw"))]
6// compile_error!("ergo support and raw support are exclusive. only one of them can be enabled at the same time.");
7
8
9#[cfg(not(feature = "raw"))]
10pub mod ergo;
11#[cfg(not(feature = "raw"))]
12pub use ergo::*;
13
14#[cfg(not(feature = "raw"))]
15mod raw;
16#[cfg(feature = "raw")]
17pub mod raw;