2021-04-07 18:48:01 +02:00
|
|
|
[package]
|
|
|
|
name = "lightning-invoice"
|
|
|
|
description = "Data structures to parse and serialize BOLT11 lightning invoices"
|
2022-03-30 19:08:26 +02:00
|
|
|
version = "0.14.0"
|
2021-04-07 18:48:01 +02:00
|
|
|
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
|
|
|
|
documentation = "https://docs.rs/lightning-invoice/"
|
2021-04-07 19:17:22 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-04-07 18:48:01 +02:00
|
|
|
keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ]
|
|
|
|
readme = "README.md"
|
|
|
|
|
2022-02-12 05:22:20 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2021-12-22 17:43:25 +01:00
|
|
|
[features]
|
|
|
|
default = ["std"]
|
|
|
|
no-std = ["hashbrown", "lightning/no-std", "core2/alloc"]
|
2022-01-09 12:26:14 +01:00
|
|
|
std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
|
2021-12-22 17:43:25 +01:00
|
|
|
|
2021-04-07 18:48:01 +02:00
|
|
|
[dependencies]
|
2022-01-09 12:26:14 +01:00
|
|
|
bech32 = { version = "0.8", default-features = false }
|
2022-03-30 19:08:26 +02:00
|
|
|
lightning = { version = "0.0.106", path = "../lightning", default-features = false }
|
2022-05-05 17:59:38 +02:00
|
|
|
secp256k1 = { version = "0.22", default-features = false, features = ["recovery", "alloc"] }
|
2021-12-22 17:43:25 +01:00
|
|
|
num-traits = { version = "0.2.8", default-features = false }
|
|
|
|
bitcoin_hashes = { version = "0.10", default-features = false }
|
|
|
|
hashbrown = { version = "0.11", optional = true }
|
|
|
|
core2 = { version = "0.3.0", default-features = false, optional = true }
|
2021-04-07 18:48:01 +02:00
|
|
|
|
2021-04-24 00:17:52 +02:00
|
|
|
[dev-dependencies]
|
2022-03-30 19:08:26 +02:00
|
|
|
lightning = { version = "0.0.106", path = "../lightning", default-features = false, features = ["_test_utils"] }
|
2022-01-18 23:05:49 +01:00
|
|
|
hex = "0.4"
|