rust-lightning/lightning-invoice/Cargo.toml

35 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "lightning-invoice"
description = "Data structures to parse and serialize BOLT11 lightning invoices"
version = "0.31.0-beta"
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
documentation = "https://docs.rs/lightning-invoice/"
license = "MIT OR Apache-2.0"
keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ]
readme = "README.md"
repository = "https://github.com/lightningdevkit/rust-lightning/"
edition = "2021"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2021-12-22 17:43:25 +01:00
[features]
default = ["std"]
2024-08-16 17:02:50 +02:00
no-std = []
std = ["bech32/std"]
2021-12-22 17:43:25 +01:00
[dependencies]
2024-05-11 04:55:02 +02:00
bech32 = { version = "0.9.1", default-features = false }
lightning-types = { version = "0.1", path = "../lightning-types", default-features = false }
2024-08-16 17:02:50 +02:00
secp256k1 = { version = "0.29.0", default-features = false, features = ["recovery", "alloc"] }
serde = { version = "1.0.118", optional = true }
2024-08-16 17:02:50 +02:00
bitcoin = { version = "0.32.2", default-features = false }
[dev-dependencies]
serde_json = { version = "1"}
hashbrown = { version = "0.13", default-features = false }
[lints]
workspace = true