Update auto-generated bindings
[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 channelmanager;
21 pub mod inbound_payment;
22 pub mod msgs;
23 pub mod peer_handler;
24 pub mod chan_utils;
25 pub mod features;
26 pub mod script;
27 pub mod outbound_payment;
28 pub mod wire;
29 mod channel_id {
30
31 use alloc::str::FromStr;
32 use alloc::string::String;
33 use core::ffi::c_void;
34 use core::convert::Infallible;
35 use bitcoin::hashes::Hash;
36 use crate::c_types::*;
37 #[cfg(feature="no-std")]
38 use alloc::{vec::Vec, boxed::Box};
39
40 }
41 mod peer_channel_encryptor {
42
43 use alloc::str::FromStr;
44 use alloc::string::String;
45 use core::ffi::c_void;
46 use core::convert::Infallible;
47 use bitcoin::hashes::Hash;
48 use crate::c_types::*;
49 #[cfg(feature="no-std")]
50 use alloc::{vec::Vec, boxed::Box};
51
52 }
53 mod channel {
54
55 use alloc::str::FromStr;
56 use alloc::string::String;
57 use core::ffi::c_void;
58 use core::convert::Infallible;
59 use bitcoin::hashes::Hash;
60 use crate::c_types::*;
61 #[cfg(feature="no-std")]
62 use alloc::{vec::Vec, boxed::Box};
63
64 }
65 mod onion_utils {
66
67 use alloc::str::FromStr;
68 use alloc::string::String;
69 use core::ffi::c_void;
70 use core::convert::Infallible;
71 use bitcoin::hashes::Hash;
72 use crate::c_types::*;
73 #[cfg(feature="no-std")]
74 use alloc::{vec::Vec, boxed::Box};
75
76 }