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;
17
18pub mod invoice;
19pub mod invoice_error;
20mod invoice_macros;
21pub mod invoice_request;
22pub mod merkle;
23pub mod nonce;
24pub mod parse;
25mod payer;
26pub mod refund;
27pub(crate) mod signer;
28#[cfg(async_payments)]
29pub mod static_invoice;
30#[cfg(test)]
31pub(crate) mod test_utils;