Make some more things pub(crate) as they don't need exposed now

This commit is contained in:
Matt Corallo 2018-07-19 22:54:20 -04:00
parent 89167164da
commit 7098ca3375
2 changed files with 6 additions and 2 deletions

View 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"))]

View File

@ -1,4 +1,3 @@
pub mod transaction_utils;
pub mod events;
pub(crate) mod byte_utils;
@ -6,6 +5,7 @@ pub(crate) mod chacha20poly1305rfc;
pub(crate) mod internal_traits;
pub(crate) mod rng;
pub(crate) mod sha2;
pub(crate) mod transaction_utils;
#[cfg(feature = "fuzztarget")]
pub use self::rng::reset_rng_state;