195c8a5aa57ff1759186e884dc2a05871f554438
[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 std::str::FromStr;
12 use std::ffi::c_void;
13 use core::convert::Infallible;
14 use bitcoin::hashes::Hash;
15 use crate::c_types::*;
16
17 pub mod events;
18 pub mod errors;
19 pub mod ser;
20 pub mod message_signing;
21 pub mod logger;
22 pub mod config;
23 mod fuzz_wrappers {
24
25 use std::str::FromStr;
26 use std::ffi::c_void;
27 use core::convert::Infallible;
28 use bitcoin::hashes::Hash;
29 use crate::c_types::*;
30
31 }
32 mod ser_macros {
33
34 use std::str::FromStr;
35 use std::ffi::c_void;
36 use core::convert::Infallible;
37 use bitcoin::hashes::Hash;
38 use crate::c_types::*;
39
40 }
41 mod byte_utils {
42
43 use std::str::FromStr;
44 use std::ffi::c_void;
45 use core::convert::Infallible;
46 use bitcoin::hashes::Hash;
47 use crate::c_types::*;
48
49 }
50 mod chacha20 {
51
52 use std::str::FromStr;
53 use std::ffi::c_void;
54 use core::convert::Infallible;
55 use bitcoin::hashes::Hash;
56 use crate::c_types::*;
57
58 mod real_chacha {
59
60 use std::str::FromStr;
61 use std::ffi::c_void;
62 use core::convert::Infallible;
63 use bitcoin::hashes::Hash;
64 use crate::c_types::*;
65
66 }
67 }
68 mod zbase32 {
69
70 use std::str::FromStr;
71 use std::ffi::c_void;
72 use core::convert::Infallible;
73 use bitcoin::hashes::Hash;
74 use crate::c_types::*;
75
76 }
77 mod poly1305 {
78
79 use std::str::FromStr;
80 use std::ffi::c_void;
81 use core::convert::Infallible;
82 use bitcoin::hashes::Hash;
83 use crate::c_types::*;
84
85 }
86 mod chacha20poly1305rfc {
87
88 use std::str::FromStr;
89 use std::ffi::c_void;
90 use core::convert::Infallible;
91 use bitcoin::hashes::Hash;
92 use crate::c_types::*;
93
94 mod real_chachapoly {
95
96 use std::str::FromStr;
97 use std::ffi::c_void;
98 use core::convert::Infallible;
99 use bitcoin::hashes::Hash;
100 use crate::c_types::*;
101
102 }
103 }
104 mod transaction_utils {
105
106 use std::str::FromStr;
107 use std::ffi::c_void;
108 use core::convert::Infallible;
109 use bitcoin::hashes::Hash;
110 use crate::c_types::*;
111
112 }
113 mod scid_utils {
114
115 use std::str::FromStr;
116 use std::ffi::c_void;
117 use core::convert::Infallible;
118 use bitcoin::hashes::Hash;
119 use crate::c_types::*;
120
121 }
122 mod macro_logger {
123
124 use std::str::FromStr;
125 use std::ffi::c_void;
126 use core::convert::Infallible;
127 use bitcoin::hashes::Hash;
128 use crate::c_types::*;
129
130 }