From: Sergi Delgado Segura Date: Wed, 31 Mar 2021 09:38:31 +0000 (+0200) Subject: Changes zbase32 crate from pub to pub(crate) X-Git-Tag: v0.0.14~21^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=7bcf5a17312f26d236fc6e82bd7e8373676b8e15;p=rust-lightning Changes zbase32 crate from pub to pub(crate) --- diff --git a/lightning/src/util/mod.rs b/lightning/src/util/mod.rs index 761d1fd02..e8118a9a1 100644 --- a/lightning/src/util/mod.rs +++ b/lightning/src/util/mod.rs @@ -15,11 +15,14 @@ pub(crate) mod fuzz_wrappers; pub mod events; pub mod errors; pub mod ser; -pub mod zbase32; pub mod message_signing; pub(crate) mod byte_utils; pub(crate) mod chacha20; +#[cfg(feature = "fuzztarget")] +pub mod zbase32; +#[cfg(not(feature = "fuzztarget"))] +pub(crate) mod zbase32; #[cfg(not(feature = "fuzztarget"))] pub(crate) mod poly1305; pub(crate) mod chacha20poly1305rfc;