projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e3445
)
Include `String` in the default import, since we use it now
author
Matt Corallo
<git@bluematt.me>
Tue, 26 Sep 2023 00:33:39 +0000
(
00:33
+0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 26 Sep 2023 00:33:39 +0000
(
00:33
+0000)
c-bindings-gen/src/main.rs
patch
|
blob
|
history
diff --git
a/c-bindings-gen/src/main.rs
b/c-bindings-gen/src/main.rs
index ad2690ce8a0ff99ac6695b18ac0607451f143ead..bca6aa5c02bdf0307043fe3ff1c6f9a755da3016 100644
(file)
--- a/
c-bindings-gen/src/main.rs
+++ b/
c-bindings-gen/src/main.rs
@@
-36,6
+36,7
@@
use blocks::*;
const DEFAULT_IMPORTS: &'static str = "
use alloc::str::FromStr;
+use alloc::string::String;
use core::ffi::c_void;
use core::convert::Infallible;
use bitcoin::hashes::Hash;