139fba8f0c03c06420edccb02f027181914381cb
[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.19.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"]
19 std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"]
20
21 [dependencies]
22 bech32 = { version = "0.9.0", default-features = false }
23 lightning = { version = "0.0.111", path = "../lightning", default-features = false }
24 secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] }
25 num-traits = { version = "0.2.8", default-features = false }
26 bitcoin_hashes = { version = "0.11", default-features = false }
27 hashbrown = { version = "0.8", optional = true }
28 serde = { version = "1.0.118", optional = true }
29
30 [dev-dependencies]
31 lightning = { version = "0.0.111", path = "../lightning", default-features = false, features = ["_test_utils"] }
32 hex = "0.4"
33 serde_json = { version = "1"}