rust-lightning/lightning/src
Omer Yacine 3a33693b1e
Expose impl_writeable_tlv_based macro
Every exported macro needed to have all the macros used inside it:
1- to be exported as well.
2- be called from the `$crate` namespace so it works in other crates.

Some structs in `lightning::util::ser` needed to be made public as they were used inside the exported macros.

Use the macros like this:
```Rust
lightning::impl_writeable_tlv_based!(...)
```
2023-01-09 21:16:30 +02:00
..
chain Merge pull request #1812 from valentinewallace/2022-10-chanman-router-param 2023-01-05 22:09:35 +00:00
ln Expose impl_writeable_tlv_based macro 2023-01-09 21:16:30 +02:00
offers Refund parsing tests 2022-12-14 16:22:44 -06:00
onion_message Expose impl_writeable_tlv_based macro 2023-01-09 21:16:30 +02:00
routing Expose impl_writeable_tlv_based macro 2023-01-09 21:16:30 +02:00
util Expose impl_writeable_tlv_based macro 2023-01-09 21:16:30 +02:00
debug_sync.rs Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00
lib.rs Offer message interface and data format 2022-11-04 15:07:01 -05:00
sync.rs Create a simple FairRwLock to avoid readers starving writers 2022-05-10 23:40:20 +00:00