faucet_server/lib.rs
1pub mod cli;
2pub mod client;
3pub mod error;
4pub mod global_conn;
5pub(crate) mod networking;
6pub mod server;
7pub mod shutdown;
8pub mod telemetry;
9
10macro_rules! leak {
11 ($val:expr, $ty:ty) => {
12 std::boxed::Box::leak(std::boxed::Box::from($val)) as &'static $ty
13 };
14 ($val:expr) => {
15 std::boxed::Box::leak(std::boxed::Box::from($val))
16 };
17}
18
19pub(crate) use leak;