]> 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 d010ca5d084d327b7d303e92ea42e3360c394199..96c6c3c4e014c7d199e5844cf11a13837afdcfba 100644 (file)
@@ -9,6 +9,7 @@
 //! Structs and impls for receiving messages about the network and storing the topology live here.
 
 use alloc::str::FromStr;
 //! Structs and impls for receiving messages about the network and storing the topology live here.
 
 use alloc::str::FromStr;
+use alloc::string::String;
 use core::ffi::c_void;
 use core::convert::Infallible;
 use bitcoin::hashes::Hash;
 use core::ffi::c_void;
 use core::convert::Infallible;
 use bitcoin::hashes::Hash;
@@ -20,3 +21,15 @@ pub mod utxo;
 pub mod gossip;
 pub mod router;
 pub mod scoring;
 pub mod gossip;
 pub mod router;
 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};
+
+}