Stop checking size > 64KB in serialization
[rust-lightning] / src / util / mod.rs
index 31f4f698ecdc4c5b7ce75953643a929166b4160a..2244f9b2fa44e1fb72c3fbf5c8feda1ce883dac0 100644 (file)
@@ -1,10 +1,28 @@
-pub mod transaction_utils;
 pub mod events;
+pub mod errors;
+pub mod ser;
 
 pub(crate) mod byte_utils;
 pub(crate) mod chacha20poly1305rfc;
 pub(crate) mod internal_traits;
 pub(crate) mod rng;
+pub(crate) mod transaction_utils;
+
+#[macro_use]
+pub(crate) mod ser_macros;
+#[macro_use]
+pub(crate) mod macro_logger;
+
+// Logger has to come after macro_logger for tests to build:
+pub mod logger;
+
+#[cfg(feature = "fuzztarget")]
+pub mod sha2;
+#[cfg(not(feature = "fuzztarget"))]
+pub(crate) mod sha2;
+
+#[cfg(feature = "fuzztarget")]
+pub use self::rng::reset_rng_state;
 
 #[cfg(test)]
 pub(crate) mod test_utils;