diff options
Diffstat (limited to 'client/src/lib.rs')
-rw-r--r-- | client/src/lib.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/src/lib.rs b/client/src/lib.rs new file mode 100644 index 0000000..3c19df7 --- /dev/null +++ b/client/src/lib.rs @@ -0,0 +1,21 @@ +#![feature(exclusive_range_pattern)] + +pub mod client; +pub mod world; + +#[cfg(feature = "gamenet_ddnet_0_6")] +pub extern crate gamenet_ddnet as gamenet; +#[cfg(feature = "gamenet_0_5")] +pub extern crate gamenet_teeworlds_0_5 as gamenet; +#[cfg(feature = "gamenet_0_6")] +pub extern crate gamenet_teeworlds_0_6 as gamenet; +#[cfg(feature = "gamenet_0_7")] +pub extern crate gamenet_teeworlds_0_7 as gamenet; + + +use std::sync::atomic::AtomicBool; + +use lazy_static::lazy_static; +lazy_static! { + pub static ref SHOULD_EXIT: AtomicBool = AtomicBool::new(false); +} |