From 6c875082474431a39596b1547b436a9bec1f5533 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Fri, 10 Feb 2023 15:53:15 +0100 Subject: Initial commit --- src/lib.rs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/lib.rs (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..a1b8469 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,32 @@ +#![feature(iterator_try_collect)] + +#[cfg(feature = "random")] +pub use generate_random; + +#[cfg(feature = "random")] +pub use rand; + +#[cfg(feature = "serde")] +pub use serde; + +use enumset::{EnumSet, EnumSetType}; +use mt_ser::mt_derive; +use std::{ + collections::{HashMap, HashSet}, + fmt, +}; + +#[cfg(any(feature = "client", feature = "server"))] +use mt_ser::{DefCfg, DeserializeError, MtCfg, MtDeserialize, MtSerialize, SerializeError}; + +#[cfg(feature = "random")] +use generate_random::GenerateRandom; + +#[cfg(feature = "serde")] +use serde::{Deserialize, Serialize}; + +mod to_clt; +mod to_srv; + +pub use to_clt::*; +pub use to_srv::*; -- cgit v1.2.3