rust-lightning/lightning
Matt Corallo b3aed9a260 Return slices, rather than Vec references, in addresses
Its a bit strange to return a reference to a `Vec` in Rust, when a
slice is really intended as the way to do so. Worse, the bindings
don't know how to map a reference to a `Vec` (but do have code to
map a slice of `Clone`able objects).

Here, we move `NodeAnnouncementInfo::addresses` to return a slice,
though to do so we have to adapt the `WithoutLength` `Writeable`
impl to support slices as well.
2024-08-14 19:44:13 +00:00
..
src Return slices, rather than Vec references, in addresses 2024-08-14 19:44:13 +00:00
Cargo.toml Swap the dep order between lightning and lightning-invoice 2024-08-13 12:55:18 +00:00