rust-lightning/lightning-invoice/Cargo.toml

28 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "lightning-invoice"
description = "Data structures to parse and serialize BOLT11 lightning invoices"
2021-12-17 21:28:24 +00:00
version = "0.12.0"
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"
2021-12-22 17:43:25 +01:00
[features]
default = ["std"]
no-std = ["hashbrown", "lightning/no-std", "core2/alloc"]
std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
2021-12-22 17:43:25 +01:00
[dependencies]
bech32 = { version = "0.8", default-features = false }
2021-12-22 17:43:25 +01:00
lightning = { version = "0.0.104", path = "../lightning", default-features = false }
secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] }
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 }
[dev-dependencies]
2021-12-22 17:43:25 +01:00
lightning = { version = "0.0.104", path = "../lightning", default-features = false, features = ["_test_utils"] }
hex = "0.4"