summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..1120945
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,16 @@
+// Copyright 2022-2024 Gabriel Bjørnager Jensen.
+
+pub mod checksum;
+pub mod deserialise;
+pub mod error;
+pub mod fixed_string;
+pub mod packet;
+pub mod serialise;
+
+macro_rules! use_mod {
+ ($vis:vis $name:ident) => {
+ mod $name;
+ $vis use $name::*;
+ };
+}
+pub(in crate) use use_mod;