summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-10 15:53:15 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-02-10 15:53:15 +0100
commit6c875082474431a39596b1547b436a9bec1f5533 (patch)
treebafa770893e6a5a1daea8b57cc5a3f3574da3cb6 /src/lib.rs
downloadmt_net-6c875082474431a39596b1547b436a9bec1f5533.tar.xz
Initial commit
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs32
1 files changed, 32 insertions, 0 deletions
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::*;