Make ChannelKeys an API and template Channel with it.
[rust-lightning] / lightning / src / util / mod.rs
index aab77035d387d452d469067329e6db9ad77a69e2..8c94ac5ca2230aac99083f0f7a2b01d900101116 100644 (file)
@@ -23,5 +23,10 @@ pub mod config;
 #[cfg(test)]
 pub(crate) mod test_utils;
 
+/// impls of traits that add exra enforcement on the way they're called. Useful for detecting state
+/// machine errors and used in fuzz targets and tests.
+#[cfg(any(test, feature = "fuzztarget"))]
+pub mod enforcing_trait_impls;
+
 #[macro_use]
 pub(crate) mod fuzz_wrappers;