Update CI/Cargo.toml references to 0.0.122
[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 outbound_payment;
30 pub mod wire;
31 mod channel_id {
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 peer_channel_encryptor {
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 channel {
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 mod state_flags {
67
68 use alloc::str::FromStr;
69 use alloc::string::String;
70 use core::ffi::c_void;
71 use core::convert::Infallible;
72 use bitcoin::hashes::Hash;
73 use crate::c_types::*;
74 #[cfg(feature="no-std")]
75 use alloc::{vec::Vec, boxed::Box};
76
77 }
78 }
79 mod onion_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 }