Update auto-generated bindings
[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 logger;
24 pub mod config;
25 mod fuzz_wrappers {
26
27 use alloc::str::FromStr;
28 use core::ffi::c_void;
29 use core::convert::Infallible;
30 use bitcoin::hashes::Hash;
31 use crate::c_types::*;
32 #[cfg(feature="no-std")]
33 use alloc::{vec::Vec, boxed::Box};
34
35 }
36 mod ser_macros {
37
38 use alloc::str::FromStr;
39 use core::ffi::c_void;
40 use core::convert::Infallible;
41 use bitcoin::hashes::Hash;
42 use crate::c_types::*;
43 #[cfg(feature="no-std")]
44 use alloc::{vec::Vec, boxed::Box};
45
46 }
47 mod atomic_counter {
48
49 use alloc::str::FromStr;
50 use core::ffi::c_void;
51 use core::convert::Infallible;
52 use bitcoin::hashes::Hash;
53 use crate::c_types::*;
54 #[cfg(feature="no-std")]
55 use alloc::{vec::Vec, boxed::Box};
56
57 }
58 mod byte_utils {
59
60 use alloc::str::FromStr;
61 use core::ffi::c_void;
62 use core::convert::Infallible;
63 use bitcoin::hashes::Hash;
64 use crate::c_types::*;
65 #[cfg(feature="no-std")]
66 use alloc::{vec::Vec, boxed::Box};
67
68 }
69 mod chacha20 {
70
71 use alloc::str::FromStr;
72 use core::ffi::c_void;
73 use core::convert::Infallible;
74 use bitcoin::hashes::Hash;
75 use crate::c_types::*;
76 #[cfg(feature="no-std")]
77 use alloc::{vec::Vec, boxed::Box};
78
79 mod real_chacha {
80
81 use alloc::str::FromStr;
82 use core::ffi::c_void;
83 use core::convert::Infallible;
84 use bitcoin::hashes::Hash;
85 use crate::c_types::*;
86 #[cfg(feature="no-std")]
87 use alloc::{vec::Vec, boxed::Box};
88
89 }
90 }
91 mod zbase32 {
92
93 use alloc::str::FromStr;
94 use core::ffi::c_void;
95 use core::convert::Infallible;
96 use bitcoin::hashes::Hash;
97 use crate::c_types::*;
98 #[cfg(feature="no-std")]
99 use alloc::{vec::Vec, boxed::Box};
100
101 }
102 mod poly1305 {
103
104 use alloc::str::FromStr;
105 use core::ffi::c_void;
106 use core::convert::Infallible;
107 use bitcoin::hashes::Hash;
108 use crate::c_types::*;
109 #[cfg(feature="no-std")]
110 use alloc::{vec::Vec, boxed::Box};
111
112 }
113 mod chacha20poly1305rfc {
114
115 use alloc::str::FromStr;
116 use core::ffi::c_void;
117 use core::convert::Infallible;
118 use bitcoin::hashes::Hash;
119 use crate::c_types::*;
120 #[cfg(feature="no-std")]
121 use alloc::{vec::Vec, boxed::Box};
122
123 mod real_chachapoly {
124
125 use alloc::str::FromStr;
126 use core::ffi::c_void;
127 use core::convert::Infallible;
128 use bitcoin::hashes::Hash;
129 use crate::c_types::*;
130 #[cfg(feature="no-std")]
131 use alloc::{vec::Vec, boxed::Box};
132
133 }
134 }
135 mod transaction_utils {
136
137 use alloc::str::FromStr;
138 use core::ffi::c_void;
139 use core::convert::Infallible;
140 use bitcoin::hashes::Hash;
141 use crate::c_types::*;
142 #[cfg(feature="no-std")]
143 use alloc::{vec::Vec, boxed::Box};
144
145 }
146 mod scid_utils {
147
148 use alloc::str::FromStr;
149 use core::ffi::c_void;
150 use core::convert::Infallible;
151 use bitcoin::hashes::Hash;
152 use crate::c_types::*;
153 #[cfg(feature="no-std")]
154 use alloc::{vec::Vec, boxed::Box};
155
156 }
157 mod macro_logger {
158
159 use alloc::str::FromStr;
160 use core::ffi::c_void;
161 use core::convert::Infallible;
162 use bitcoin::hashes::Hash;
163 use crate::c_types::*;
164 #[cfg(feature="no-std")]
165 use alloc::{vec::Vec, boxed::Box};
166
167 }