9382d66303f05fae9947549b12b0ddbba8e21b16
[rust-lightning] / lightning-invoice / Cargo.toml
1 [package]
2 name = "lightning-invoice"
3 description = "Data structures to parse and serialize BOLT11 lightning invoices"
4 version = "0.14.0"
5 authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
6 documentation = "https://docs.rs/lightning-invoice/"
7 license = "MIT OR Apache-2.0"
8 keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ]
9 readme = "README.md"
10 repository = "https://github.com/lightningdevkit/rust-lightning/"
11
12 [package.metadata.docs.rs]
13 all-features = true
14 rustdoc-args = ["--cfg", "docsrs"]
15
16 [features]
17 default = ["std"]
18 no-std = ["hashbrown", "lightning/no-std", "core2/alloc"]
19 std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
20
21 [dependencies]
22 bech32 = { version = "0.8", default-features = false }
23 lightning = { version = "0.0.106", path = "../lightning", default-features = false }
24 secp256k1 = { version = "0.22", default-features = false, features = ["recovery", "alloc"] }
25 num-traits = { version = "0.2.8", default-features = false }
26 bitcoin_hashes = { version = "0.10", default-features = false }
27 hashbrown = { version = "0.11", optional = true }
28 core2 = { version = "0.3.0", default-features = false, optional = true }
29
30 [dev-dependencies]
31 lightning = { version = "0.0.106", path = "../lightning", default-features = false, features = ["_test_utils"] }
32 hex = "0.4"