lightning/offers/mod.rs
1// This file is Copyright its original authors, visible in version control
2// history.
3//
4// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
5// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
7// You may not use this file except in accordance with one or both of these
8// licenses.
9
10//! Implementation of Lightning Offers
11//! ([BOLT 12](https://github.com/lightning/bolts/blob/master/12-offer-encoding.md)).
12//!
13//! Offers are a flexible protocol for Lightning payments.
14
15#[macro_use]
16pub mod offer;
17pub mod flow;
18
19pub mod async_receive_offer_cache;
20pub mod invoice;
21pub mod invoice_error;
22mod invoice_macros;
23pub mod invoice_request;
24pub mod merkle;
25pub mod nonce;
26pub mod parse;
27mod payer;
28pub mod refund;
29pub(crate) mod signer;
30pub mod static_invoice;
31#[cfg(test)]
32pub(crate) mod test_utils;