Merge pull request #379 from rrybarczyk/use-workspaces
[rust-lightning] / lightning / src / util / mod.rs
diff --git a/lightning/src/util/mod.rs b/lightning/src/util/mod.rs
new file mode 100644 (file)
index 0000000..aab7703
--- /dev/null
@@ -0,0 +1,27 @@
+//! Some utility modules live here. See individual sub-modules for more info.
+
+pub mod events;
+pub mod errors;
+pub mod ser;
+
+pub(crate) mod byte_utils;
+pub(crate) mod chacha20;
+#[cfg(not(feature = "fuzztarget"))]
+pub(crate) mod poly1305;
+pub(crate) mod chacha20poly1305rfc;
+pub(crate) mod transaction_utils;
+
+#[macro_use]
+pub(crate) mod ser_macros;
+#[macro_use]
+pub(crate) mod macro_logger;
+
+// These have to come after macro_logger to build
+pub mod logger;
+pub mod config;
+
+#[cfg(test)]
+pub(crate) mod test_utils;
+
+#[macro_use]
+pub(crate) mod fuzz_wrappers;