]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Stop exporting `lightning::ln::features` 2024-10-less-types-re-export
authorMatt Corallo <git@bluematt.me>
Thu, 17 Oct 2024 19:38:19 +0000 (19:38 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 17 Oct 2024 19:39:12 +0000 (19:39 +0000)
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.

lightning/src/ln/mod.rs

index 90571b0d89f609d31418f8e250913a7ba8643b87..9a9689b3898af2321e6f3501e4b9477904f7a5ff 100644 (file)
@@ -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;