Update CI/Cargo.toml references to 0.0.122
[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 alloc::string::String;
13 use core::ffi::c_void;
14 use core::convert::Infallible;
15 use bitcoin::hashes::Hash;
16 use crate::c_types::*;
17 #[cfg(feature="no-std")]
18 use alloc::{vec::Vec, boxed::Box};
19
20 pub mod ser_macros;
21 pub mod errors;
22 pub mod ser;
23 pub mod message_signing;
24 pub mod invoice;
25 pub mod persist;
26 pub mod string;
27 pub mod wakers;
28 pub mod indexed_map;
29 pub mod logger;
30 pub mod config;
31 mod fuzz_wrappers {
32
33 use alloc::str::FromStr;
34 use alloc::string::String;
35 use core::ffi::c_void;
36 use core::convert::Infallible;
37 use bitcoin::hashes::Hash;
38 use crate::c_types::*;
39 #[cfg(feature="no-std")]
40 use alloc::{vec::Vec, boxed::Box};
41
42 }
43 mod base32 {
44
45 use alloc::str::FromStr;
46 use alloc::string::String;
47 use core::ffi::c_void;
48 use core::convert::Infallible;
49 use bitcoin::hashes::Hash;
50 use crate::c_types::*;
51 #[cfg(feature="no-std")]
52 use alloc::{vec::Vec, boxed::Box};
53
54 }
55 mod atomic_counter {
56
57 use alloc::str::FromStr;
58 use alloc::string::String;
59 use core::ffi::c_void;
60 use core::convert::Infallible;
61 use bitcoin::hashes::Hash;
62 use crate::c_types::*;
63 #[cfg(feature="no-std")]
64 use alloc::{vec::Vec, boxed::Box};
65
66 }
67 mod byte_utils {
68
69 use alloc::str::FromStr;
70 use alloc::string::String;
71 use core::ffi::c_void;
72 use core::convert::Infallible;
73 use bitcoin::hashes::Hash;
74 use crate::c_types::*;
75 #[cfg(feature="no-std")]
76 use alloc::{vec::Vec, boxed::Box};
77
78 }
79 mod transaction_utils {
80
81 use alloc::str::FromStr;
82 use alloc::string::String;
83 use core::ffi::c_void;
84 use core::convert::Infallible;
85 use bitcoin::hashes::Hash;
86 use crate::c_types::*;
87 #[cfg(feature="no-std")]
88 use alloc::{vec::Vec, boxed::Box};
89
90 }
91 mod scid_utils {
92
93 use alloc::str::FromStr;
94 use alloc::string::String;
95 use core::ffi::c_void;
96 use core::convert::Infallible;
97 use bitcoin::hashes::Hash;
98 use crate::c_types::*;
99 #[cfg(feature="no-std")]
100 use alloc::{vec::Vec, boxed::Box};
101
102 mod fake_scid {
103
104 use alloc::str::FromStr;
105 use alloc::string::String;
106 use core::ffi::c_void;
107 use core::convert::Infallible;
108 use bitcoin::hashes::Hash;
109 use crate::c_types::*;
110 #[cfg(feature="no-std")]
111 use alloc::{vec::Vec, boxed::Box};
112
113 }
114 }
115 mod time {
116
117 use alloc::str::FromStr;
118 use alloc::string::String;
119 use core::ffi::c_void;
120 use core::convert::Infallible;
121 use bitcoin::hashes::Hash;
122 use crate::c_types::*;
123 #[cfg(feature="no-std")]
124 use alloc::{vec::Vec, boxed::Box};
125
126 }
127 mod macro_logger {
128
129 use alloc::str::FromStr;
130 use alloc::string::String;
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 }