]> git.bitcoin.ninja Git - ldk-c-bindings/blobdiff - lightning-c-bindings/src/lightning/routing/mod.rs
Add missing `rustc` `metadata` override for `lightning_types`
[ldk-c-bindings] / lightning-c-bindings / src / lightning / routing / mod.rs
index 9cc0eb411ac8ab5dc0fc24416c8c775531e48bcb..96c6c3c4e014c7d199e5844cf11a13837afdcfba 100644 (file)
@@ -8,10 +8,28 @@
 
 //! Structs and impls for receiving messages about the network and storing the topology live here.
 
 
 //! 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::*;
 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 router;
-pub mod network_graph;
+pub mod scoring;
+mod log_approx {
+
+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};
+
+}