e41eb1cd24b85748f82afd691f63a9d44f8e71fe
[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.13.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
11 [package.metadata.docs.rs]
12 all-features = true
13 rustdoc-args = ["--cfg", "docsrs"]
14
15 [features]
16 default = ["std"]
17 no-std = ["hashbrown", "lightning/no-std", "core2/alloc"]
18 std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
19
20 [dependencies]
21 bech32 = { version = "0.8", default-features = false }
22 lightning = { version = "0.0.105", path = "../lightning", default-features = false }
23 secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] }
24 num-traits = { version = "0.2.8", default-features = false }
25 bitcoin_hashes = { version = "0.10", default-features = false }
26 hashbrown = { version = "0.11", optional = true }
27 core2 = { version = "0.3.0", default-features = false, optional = true }
28
29 [dev-dependencies]
30 lightning = { version = "0.0.105", path = "../lightning", default-features = false, features = ["_test_utils"] }
31 hex = "0.4"