From: Matt Corallo Date: Thu, 17 Oct 2024 19:38:19 +0000 (+0000) Subject: Stop exporting `lightning::ln::features` X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b5b38603fd95cde084225d4231d876278f90c212;p=rust-lightning Stop exporting `lightning::ln::features` Now that the module only contains some implementations of serialization for the `lightning_types::features` structs, there's no reason for it to be public. --- diff --git a/lightning/src/ln/mod.rs b/lightning/src/ln/mod.rs index 90571b0d8..9a9689b38 100644 --- a/lightning/src/ln/mod.rs +++ b/lightning/src/ln/mod.rs @@ -21,7 +21,7 @@ pub mod inbound_payment; pub mod msgs; pub mod peer_handler; pub mod chan_utils; -pub mod features; +mod features; pub mod script; pub mod types;