summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..44c4c05
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,22 @@
+// Copyright 2022-2024 Gabriel Bjørnager Jensen.
+
+//! Binary (de)serialisation.
+//!
+//! Contrary to [Serde](https://crates.io/crates/serde/)/[Bincode](https://crates.io/crates/bincode/), the goal of `bzipper` is to serialise data without inflating the resulting binary sequence.
+//! As such, one may consider this crate to be more low-level.
+//!
+//! Keep in mind that this project is still work-in-progress.
+//!
+//! This crate does not require any dependencies at the moment.
+
+pub mod deserialise;
+pub mod error;
+pub mod serialise;
+
+macro_rules! use_mod {
+ ($vis:vis $name:ident) => {
+ mod $name;
+ $vis use $name::*;
+ };
+}
+pub(in crate) use use_mod;