# lightning-invoice
[](https://travis-ci.org/rust-bitcoin/rust-lightning-invoice)
[](https://rust-bitcoin.github.io/rust-lightning-invoice/target/kcov/merged/)
[](https://crates.io/crates/lightning-invoice)
[](https://docs.rs/lightning-invoice/)
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.**
## Contributing
* same coding style standard as [rust-bitcoin/rust-lightning](https://github.com/rust-bitcoin/rust-lightning)
* use tabs and spaces (appropriately)
* no unnecessary dependencies