X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Flightning%2Frouting%2Fmod.rs;h=ec1927127bc30f9a7dc4a7ab04dd3f85d9d0c43c;hb=df6bde199404ae987e4c3cf8f85865955b3f2ab4;hp=9cc0eb411ac8ab5dc0fc24416c8c775531e48bcb;hpb=5a2c2e157fd16d664a28bf3f7fe58d2216dd43d7;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 9cc0eb4..ec19271 100644 --- a/lightning-c-bindings/src/lightning/routing/mod.rs +++ b/lightning-c-bindings/src/lightning/routing/mod.rs @@ -8,10 +8,16 @@ //! Structs and impls for receiving messages about the network and storing the topology live here. -use std::str::FromStr; -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;