Pin compiler_builtins to 0.1.109 when building std
[ldk-c-bindings] / lightning-c-bindings / src / lightning / ln / 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 //! Implementations of various parts of the Lightning protocol are in this module.
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 onion_payment;
21 pub mod channelmanager;
22 pub mod channel_keys;
23 pub mod inbound_payment;
24 pub mod msgs;
25 pub mod peer_handler;
26 pub mod chan_utils;
27 pub mod features;
28 pub mod script;
29 pub mod types;
30 pub mod outbound_payment;
31 pub mod wire;
32 mod peer_channel_encryptor {
33
34 use alloc::str::FromStr;
35 use alloc::string::String;
36 use core::ffi::c_void;
37 use core::convert::Infallible;
38 use bitcoin::hashes::Hash;
39 use crate::c_types::*;
40 #[cfg(feature="no-std")]
41 use alloc::{vec::Vec, boxed::Box};
42
43 }
44 mod channel {
45
46 use alloc::str::FromStr;
47 use alloc::string::String;
48 use core::ffi::c_void;
49 use core::convert::Infallible;
50 use bitcoin::hashes::Hash;
51 use crate::c_types::*;
52 #[cfg(feature="no-std")]
53 use alloc::{vec::Vec, boxed::Box};
54
55 mod state_flags {
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 }
68 mod onion_utils {
69
70 use alloc::str::FromStr;
71 use alloc::string::String;
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 }
80 mod interactivetxs {
81
82 use alloc::str::FromStr;
83 use alloc::string::String;
84 use core::ffi::c_void;
85 use core::convert::Infallible;
86 use bitcoin::hashes::Hash;
87 use crate::c_types::*;
88 #[cfg(feature="no-std")]
89 use alloc::{vec::Vec, boxed::Box};
90
91 }