X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Flightning%2Frouting%2Fmod.rs;h=ec1927127bc30f9a7dc4a7ab04dd3f85d9d0c43c;hb=3e46e1794f14640e35f09cc6da4169c152de34ce;hp=a06e1d09ad191cadca6da01c118a213372cb96d4;hpb=1ea51d14faf91619495778e82bca2e6fad0ae1ae;p=ldk-c-bindings diff --git a/lightning-c-bindings/src/lightning/routing/mod.rs b/lightning-c-bindings/src/lightning/routing/mod.rs index a06e1d0..ec19271 100644 --- a/lightning-c-bindings/src/lightning/routing/mod.rs +++ b/lightning-c-bindings/src/lightning/routing/mod.rs @@ -8,9 +8,16 @@ //! Structs and impls for receiving messages about the network and storing the topology live here. -use std::ffi::c_void; +use alloc::str::FromStr; +use alloc::string::String; +use core::ffi::c_void; +use core::convert::Infallible; use bitcoin::hashes::Hash; use crate::c_types::*; +#[cfg(feature="no-std")] +use alloc::{vec::Vec, boxed::Box}; +pub mod utxo; +pub mod gossip; pub mod router; -pub mod network_graph; +pub mod scoring;