rust-lightning/lightning-invoice
Matt Corallo ae0d825d89 Use crate::prelude::* rather than specific imports
New rustc beta now warns on duplicate imports when one of the
imports is from a wildcard import or the default prelude. Thus, to
avoid this here we prefer to always use `crate::prelude::*` and let
it decide if we actually need to import anything.
2024-04-05 09:05:54 +00:00
..
fuzz Bump MSRV to rustc 1.63.0 and edition to 2021 2023-12-08 14:03:45 +01:00
src Use crate::prelude::* rather than specific imports 2024-04-05 09:05:54 +00:00
tests Drop explicit bitcoin_hashes dependency in lightning-invoice 2023-12-15 22:31:51 +00:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Replace the generic parse_int_be with a macro called twice 2024-03-13 19:18:20 +00:00
README.md Clean up lightning-invoice Cargo.toml and README 2021-04-09 10:08:27 -04:00

lightning-invoice

Docs.rs

This repo provides data structures for BOLT 11 lightning invoices and functions to parse and serialize these from and to bech32.

Please be sure to run the test suite since we need to check assumptions regarding SystemTime's bounds on your platform. You can also call check_platform on startup or in your test suite to do so.