3 releases (breaking)

0.3.0 Nov 19, 2024
0.2.0 Sep 1, 2024
0.1.0 Aug 28, 2024

#1661 in #api-client

Download history 6/week @ 2024-10-11 1/week @ 2024-10-18 2/week @ 2024-11-01 1/week @ 2024-11-08 894/week @ 2024-11-15 753/week @ 2024-11-22 1031/week @ 2024-11-29 1078/week @ 2024-12-06 1261/week @ 2024-12-13 433/week @ 2024-12-20 459/week @ 2024-12-27 1328/week @ 2025-01-03 1465/week @ 2025-01-10 1896/week @ 2025-01-17 2613/week @ 2025-01-24

7,426 downloads per month
Used in 2 crates (via cdk-lnbits)

MIT license

22KB
464 lines

lnbits-rs

An ergonomic, LNbits API Client for Rust.

Key features

  • Create invoices
  • Webhook for incoming invoices
  • Decode invoices
  • Pay invoices
  • Get wallet details
  • Tor support

Minimum Supported Rust Version (MSRV)

The phoenixd library should always compile with any combination of features on Rust 1.63.0.

To build and test with the MSRV you will need to pin the below dependency versions:

cargo update -p tokio --precise 1.38.1
cargo update -p reqwest --precise 0.12.4

License

Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Dependencies

~9–20MB
~275K SLoC