Update auto-generated bindings for LDK 0.0.115
[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 ser_macros;
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 indexed_map;
28 pub mod logger;
29 pub mod config;
30 mod fuzz_wrappers {
31
32 use alloc::str::FromStr;
33 use core::ffi::c_void;
34 use core::convert::Infallible;
35 use bitcoin::hashes::Hash;
36 use crate::c_types::*;
37 #[cfg(feature="no-std")]
38 use alloc::{vec::Vec, boxed::Box};
39
40 }
41 mod atomic_counter {
42
43 use alloc::str::FromStr;
44 use core::ffi::c_void;
45 use core::convert::Infallible;
46 use bitcoin::hashes::Hash;
47 use crate::c_types::*;
48 #[cfg(feature="no-std")]
49 use alloc::{vec::Vec, boxed::Box};
50
51 }
52 mod byte_utils {
53
54 use alloc::str::FromStr;
55 use core::ffi::c_void;
56 use core::convert::Infallible;
57 use bitcoin::hashes::Hash;
58 use crate::c_types::*;
59 #[cfg(feature="no-std")]
60 use alloc::{vec::Vec, boxed::Box};
61
62 }
63 mod chacha20 {
64
65 use alloc::str::FromStr;
66 use core::ffi::c_void;
67 use core::convert::Infallible;
68 use bitcoin::hashes::Hash;
69 use crate::c_types::*;
70 #[cfg(feature="no-std")]
71 use alloc::{vec::Vec, boxed::Box};
72
73 mod real_chacha {
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 }
84 }
85 mod zbase32 {
86
87 use alloc::str::FromStr;
88 use core::ffi::c_void;
89 use core::convert::Infallible;
90 use bitcoin::hashes::Hash;
91 use crate::c_types::*;
92 #[cfg(feature="no-std")]
93 use alloc::{vec::Vec, boxed::Box};
94
95 }
96 mod poly1305 {
97
98 use alloc::str::FromStr;
99 use core::ffi::c_void;
100 use core::convert::Infallible;
101 use bitcoin::hashes::Hash;
102 use crate::c_types::*;
103 #[cfg(feature="no-std")]
104 use alloc::{vec::Vec, boxed::Box};
105
106 }
107 mod chacha20poly1305rfc {
108
109 use alloc::str::FromStr;
110 use core::ffi::c_void;
111 use core::convert::Infallible;
112 use bitcoin::hashes::Hash;
113 use crate::c_types::*;
114 #[cfg(feature="no-std")]
115 use alloc::{vec::Vec, boxed::Box};
116
117 mod real_chachapoly {
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 }
129 mod transaction_utils {
130
131 use alloc::str::FromStr;
132 use core::ffi::c_void;
133 use core::convert::Infallible;
134 use bitcoin::hashes::Hash;
135 use crate::c_types::*;
136 #[cfg(feature="no-std")]
137 use alloc::{vec::Vec, boxed::Box};
138
139 }
140 mod scid_utils {
141
142 use alloc::str::FromStr;
143 use core::ffi::c_void;
144 use core::convert::Infallible;
145 use bitcoin::hashes::Hash;
146 use crate::c_types::*;
147 #[cfg(feature="no-std")]
148 use alloc::{vec::Vec, boxed::Box};
149
150 mod fake_scid {
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 }
162 mod time {
163
164 use alloc::str::FromStr;
165 use core::ffi::c_void;
166 use core::convert::Infallible;
167 use bitcoin::hashes::Hash;
168 use crate::c_types::*;
169 #[cfg(feature="no-std")]
170 use alloc::{vec::Vec, boxed::Box};
171
172 }
173 mod macro_logger {
174
175 use alloc::str::FromStr;
176 use core::ffi::c_void;
177 use core::convert::Infallible;
178 use bitcoin::hashes::Hash;
179 use crate::c_types::*;
180 #[cfg(feature="no-std")]
181 use alloc::{vec::Vec, boxed::Box};
182
183 }
184 mod crypto {
185
186 use alloc::str::FromStr;
187 use core::ffi::c_void;
188 use core::convert::Infallible;
189 use bitcoin::hashes::Hash;
190 use crate::c_types::*;
191 #[cfg(feature="no-std")]
192 use alloc::{vec::Vec, boxed::Box};
193
194 }