Update auto-generated bindings to 0.0.113
[ldk-c-bindings] / lightning-c-bindings / src / lightning / util / mod.rs
1 // This file is Copyright its original authors, visible in version control
2 // history and in the source files from which this was generated.
3 //
4 // This file is licensed under the license available in the LICENSE or LICENSE.md
5 // file in the root of this repository or, if no such file exists, the same
6 // license as that which applies to the original source files from which this
7 // source was automatically generated.
8
9 //! Some utility modules live here. See individual sub-modules for more info.
10
11 use alloc::str::FromStr;
12 use core::ffi::c_void;
13 use core::convert::Infallible;
14 use bitcoin::hashes::Hash;
15 use crate::c_types::*;
16 #[cfg(feature="no-std")]
17 use alloc::{vec::Vec, boxed::Box};
18
19 pub mod events;
20 pub mod errors;
21 pub mod ser;
22 pub mod message_signing;
23 pub mod invoice;
24 pub mod persist;
25 pub mod string;
26 pub mod wakers;
27 pub mod logger;
28 pub mod config;
29 mod fuzz_wrappers {
30
31 use alloc::str::FromStr;
32 use core::ffi::c_void;
33 use core::convert::Infallible;
34 use bitcoin::hashes::Hash;
35 use crate::c_types::*;
36 #[cfg(feature="no-std")]
37 use alloc::{vec::Vec, boxed::Box};
38
39 }
40 mod ser_macros {
41
42 use alloc::str::FromStr;
43 use core::ffi::c_void;
44 use core::convert::Infallible;
45 use bitcoin::hashes::Hash;
46 use crate::c_types::*;
47 #[cfg(feature="no-std")]
48 use alloc::{vec::Vec, boxed::Box};
49
50 }
51 mod atomic_counter {
52
53 use alloc::str::FromStr;
54 use core::ffi::c_void;
55 use core::convert::Infallible;
56 use bitcoin::hashes::Hash;
57 use crate::c_types::*;
58 #[cfg(feature="no-std")]
59 use alloc::{vec::Vec, boxed::Box};
60
61 }
62 mod byte_utils {
63
64 use alloc::str::FromStr;
65 use core::ffi::c_void;
66 use core::convert::Infallible;
67 use bitcoin::hashes::Hash;
68 use crate::c_types::*;
69 #[cfg(feature="no-std")]
70 use alloc::{vec::Vec, boxed::Box};
71
72 }
73 mod chacha20 {
74
75 use alloc::str::FromStr;
76 use core::ffi::c_void;
77 use core::convert::Infallible;
78 use bitcoin::hashes::Hash;
79 use crate::c_types::*;
80 #[cfg(feature="no-std")]
81 use alloc::{vec::Vec, boxed::Box};
82
83 mod real_chacha {
84
85 use alloc::str::FromStr;
86 use core::ffi::c_void;
87 use core::convert::Infallible;
88 use bitcoin::hashes::Hash;
89 use crate::c_types::*;
90 #[cfg(feature="no-std")]
91 use alloc::{vec::Vec, boxed::Box};
92
93 }
94 }
95 mod fairrwlock {
96
97 use alloc::str::FromStr;
98 use core::ffi::c_void;
99 use core::convert::Infallible;
100 use bitcoin::hashes::Hash;
101 use crate::c_types::*;
102 #[cfg(feature="no-std")]
103 use alloc::{vec::Vec, boxed::Box};
104
105 }
106 mod zbase32 {
107
108 use alloc::str::FromStr;
109 use core::ffi::c_void;
110 use core::convert::Infallible;
111 use bitcoin::hashes::Hash;
112 use crate::c_types::*;
113 #[cfg(feature="no-std")]
114 use alloc::{vec::Vec, boxed::Box};
115
116 }
117 mod poly1305 {
118
119 use alloc::str::FromStr;
120 use core::ffi::c_void;
121 use core::convert::Infallible;
122 use bitcoin::hashes::Hash;
123 use crate::c_types::*;
124 #[cfg(feature="no-std")]
125 use alloc::{vec::Vec, boxed::Box};
126
127 }
128 mod chacha20poly1305rfc {
129
130 use alloc::str::FromStr;
131 use core::ffi::c_void;
132 use core::convert::Infallible;
133 use bitcoin::hashes::Hash;
134 use crate::c_types::*;
135 #[cfg(feature="no-std")]
136 use alloc::{vec::Vec, boxed::Box};
137
138 mod real_chachapoly {
139
140 use alloc::str::FromStr;
141 use core::ffi::c_void;
142 use core::convert::Infallible;
143 use bitcoin::hashes::Hash;
144 use crate::c_types::*;
145 #[cfg(feature="no-std")]
146 use alloc::{vec::Vec, boxed::Box};
147
148 }
149 }
150 mod transaction_utils {
151
152 use alloc::str::FromStr;
153 use core::ffi::c_void;
154 use core::convert::Infallible;
155 use bitcoin::hashes::Hash;
156 use crate::c_types::*;
157 #[cfg(feature="no-std")]
158 use alloc::{vec::Vec, boxed::Box};
159
160 }
161 mod scid_utils {
162
163 use alloc::str::FromStr;
164 use core::ffi::c_void;
165 use core::convert::Infallible;
166 use bitcoin::hashes::Hash;
167 use crate::c_types::*;
168 #[cfg(feature="no-std")]
169 use alloc::{vec::Vec, boxed::Box};
170
171 mod fake_scid {
172
173 use alloc::str::FromStr;
174 use core::ffi::c_void;
175 use core::convert::Infallible;
176 use bitcoin::hashes::Hash;
177 use crate::c_types::*;
178 #[cfg(feature="no-std")]
179 use alloc::{vec::Vec, boxed::Box};
180
181 }
182 }
183 mod time {
184
185 use alloc::str::FromStr;
186 use core::ffi::c_void;
187 use core::convert::Infallible;
188 use bitcoin::hashes::Hash;
189 use crate::c_types::*;
190 #[cfg(feature="no-std")]
191 use alloc::{vec::Vec, boxed::Box};
192
193 }
194 mod macro_logger {
195
196 use alloc::str::FromStr;
197 use core::ffi::c_void;
198 use core::convert::Infallible;
199 use bitcoin::hashes::Hash;
200 use crate::c_types::*;
201 #[cfg(feature="no-std")]
202 use alloc::{vec::Vec, boxed::Box};
203
204 }
205 mod crypto {
206
207 use alloc::str::FromStr;
208 use core::ffi::c_void;
209 use core::convert::Infallible;
210 use bitcoin::hashes::Hash;
211 use crate::c_types::*;
212 #[cfg(feature="no-std")]
213 use alloc::{vec::Vec, boxed::Box};
214
215 }