Make some more things pub(crate) as they don't need exposed now
[rust-lightning] / src / ln / mod.rs
index 7cd4272e13c1013e5e4abe1d38380aa0bd4e76dd..add8b4df1aa2e722dbac5ce577a840c74d2ff5a0 100644 (file)
@@ -2,9 +2,13 @@ pub mod channelmanager;
 pub mod channelmonitor;
 pub mod msgs;
 pub mod router;
-pub mod peer_channel_encryptor;
 pub mod peer_handler;
 
+#[cfg(feature = "fuzztarget")]
+pub mod peer_channel_encryptor;
+#[cfg(not(feature = "fuzztarget"))]
+pub(crate) mod peer_channel_encryptor;
+
 #[cfg(feature = "fuzztarget")]
 pub mod channel;
 #[cfg(not(feature = "fuzztarget"))]