]> git.bitcoin.ninja Git - rust-lightning/commit
Export Onion Message structs in their respective modules
authorMatt Corallo <git@bluematt.me>
Mon, 19 Dec 2022 21:38:45 +0000 (21:38 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 22 Jul 2023 00:13:24 +0000 (00:13 +0000)
commit9f377cd02d50aac654d5d42e4f5e3c0e34776488
tree16431c3e8f54a95b44b3e6fc90feef6c755f1ba8
parenta025dc525184b22679b9e04577f81d1dba3555eb
Export Onion Message structs in their respective modules

Re-exports in Rust make `use` statements a little shorter, but for
otherwise don't materially change a crate's API. Sadly, the C
bindings generator currently can't figure out re-exports, but it
also exports everything into one global namespace, so it doesn't
matter much anyway.
fuzz/src/onion_message.rs
lightning-rapid-gossip-sync/src/lib.rs
lightning/src/ln/peer_handler.rs
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/mod.rs