projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update CI/Cargo.toml to point to LDK 0.0.123's bindings branch
[ldk-c-bindings]
/
lightning-c-bindings
/
src
/
lightning
/
routing
/
mod.rs
diff --git
a/lightning-c-bindings/src/lightning/routing/mod.rs
b/lightning-c-bindings/src/lightning/routing/mod.rs
index 1cc1bfbccc1917d02050307d476262ffb27792d1..ec1927127bc30f9a7dc4a7ab04dd3f85d9d0c43c 100644
(file)
--- a/
lightning-c-bindings/src/lightning/routing/mod.rs
+++ b/
lightning-c-bindings/src/lightning/routing/mod.rs
@@
-8,11
+8,16
@@
//! 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 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 router;
-pub mod
network_graph
;
+pub mod
scoring
;