1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod cli;
pub mod client;
pub mod error;
pub(crate) mod networking;
pub mod server;

macro_rules! leak {
    ($val:expr, $ty:ty) => {
        std::boxed::Box::leak(std::boxed::Box::from($val)) as &'static $ty
    };
    ($val:expr) => {
        std::boxed::Box::leak(std::boxed::Box::from($val))
    };
}

pub(crate) use leak;