X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Flightning%2Frouting%2Fmod.rs;h=d010ca5d084d327b7d303e92ea42e3360c394199;hb=11b997c3a0452ea1da5b7b352e7887798105db29;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..d010ca5 100644 --- a/lightning-c-bindings/src/lightning/routing/mod.rs +++ b/lightning-c-bindings/src/lightning/routing/mod.rs @@ -8,9 +8,15 @@ //! 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 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;