From 7bcf5a17312f26d236fc6e82bd7e8373676b8e15 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 31 Mar 2021 11:38:31 +0200 Subject: [PATCH] Changes zbase32 crate from pub to pub(crate) --- lightning/src/util/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.39.5