Pin compiler_builtins to 0.1.109 when building std
[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 scid_utils;
27 pub mod string;
28 pub mod sweep;
29 pub mod wakers;
30 pub mod hash_tables;
31 pub mod indexed_map;
32 pub mod logger;
33 pub mod config;
34 mod fuzz_wrappers {
35
36 use alloc::str::FromStr;
37 use alloc::string::String;
38 use core::ffi::c_void;
39 use core::convert::Infallible;
40 use bitcoin::hashes::Hash;
41 use crate::c_types::*;
42 #[cfg(feature="no-std")]
43 use alloc::{vec::Vec, boxed::Box};
44
45 }
46 mod base32 {
47
48 use alloc::str::FromStr;
49 use alloc::string::String;
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 atomic_counter {
59
60 use alloc::str::FromStr;
61 use alloc::string::String;
62 use core::ffi::c_void;
63 use core::convert::Infallible;
64 use bitcoin::hashes::Hash;
65 use crate::c_types::*;
66 #[cfg(feature="no-std")]
67 use alloc::{vec::Vec, boxed::Box};
68
69 }
70 mod byte_utils {
71
72 use alloc::str::FromStr;
73 use alloc::string::String;
74 use core::ffi::c_void;
75 use core::convert::Infallible;
76 use bitcoin::hashes::Hash;
77 use crate::c_types::*;
78 #[cfg(feature="no-std")]
79 use alloc::{vec::Vec, boxed::Box};
80
81 }
82 mod transaction_utils {
83
84 use alloc::str::FromStr;
85 use alloc::string::String;
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 mod time {
95
96 use alloc::str::FromStr;
97 use alloc::string::String;
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 macro_logger {
107
108 use alloc::str::FromStr;
109 use alloc::string::String;
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 }