Update CI/Cargo.toml references to 0.0.122
[ldk-c-bindings] / lightning-c-bindings / src / lightning_invoice / constants.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 /// Tag constants as specified in BOLT11
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
21 #[no_mangle]
22 pub static TAG_PAYMENT_HASH: u8 = lightning_invoice::constants::TAG_PAYMENT_HASH;
23
24 #[no_mangle]
25 pub static TAG_DESCRIPTION: u8 = lightning_invoice::constants::TAG_DESCRIPTION;
26
27 #[no_mangle]
28 pub static TAG_PAYEE_PUB_KEY: u8 = lightning_invoice::constants::TAG_PAYEE_PUB_KEY;
29
30 #[no_mangle]
31 pub static TAG_DESCRIPTION_HASH: u8 = lightning_invoice::constants::TAG_DESCRIPTION_HASH;
32
33 #[no_mangle]
34 pub static TAG_EXPIRY_TIME: u8 = lightning_invoice::constants::TAG_EXPIRY_TIME;
35
36 #[no_mangle]
37 pub static TAG_MIN_FINAL_CLTV_EXPIRY_DELTA: u8 = lightning_invoice::constants::TAG_MIN_FINAL_CLTV_EXPIRY_DELTA;
38
39 #[no_mangle]
40 pub static TAG_FALLBACK: u8 = lightning_invoice::constants::TAG_FALLBACK;
41
42 #[no_mangle]
43 pub static TAG_PRIVATE_ROUTE: u8 = lightning_invoice::constants::TAG_PRIVATE_ROUTE;
44
45 #[no_mangle]
46 pub static TAG_PAYMENT_SECRET: u8 = lightning_invoice::constants::TAG_PAYMENT_SECRET;
47
48 #[no_mangle]
49 pub static TAG_PAYMENT_METADATA: u8 = lightning_invoice::constants::TAG_PAYMENT_METADATA;
50
51 #[no_mangle]
52 pub static TAG_FEATURES: u8 = lightning_invoice::constants::TAG_FEATURES;