X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-invoice%2FCargo.toml;h=72e0d8e04ea15838e748e2ac8f1c916fb04da018;hb=2cb25576697f368f1807d6a1f2db3d6086beb84b;hp=8c6623b8fa5a0c17148210e6491eee1f5dacc20c;hpb=a265f1e97a9eff25b3418daf4b12fc9c6ad4c036;p=rust-lightning diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 8c6623b8..72e0d8e0 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -1,19 +1,35 @@ [package] name = "lightning-invoice" description = "Data structures to parse and serialize BOLT11 lightning invoices" -version = "0.8.0" +version = "0.24.0" authors = ["Sebastian Geisler "] documentation = "https://docs.rs/lightning-invoice/" license = "MIT OR Apache-2.0" keywords = [ "lightning", "bitcoin", "invoice", "BOLT11" ] readme = "README.md" +repository = "https://github.com/lightningdevkit/rust-lightning/" +edition = "2018" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[features] +default = ["std"] +no-std = ["hashbrown", "lightning/no-std"] +std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"] [dependencies] -bech32 = "0.8" -lightning = { version = "0.0.100", path = "../lightning" } -secp256k1 = { version = "0.20", features = ["recovery"] } -num-traits = "0.2.8" -bitcoin_hashes = "0.10" +bech32 = { version = "0.9.0", default-features = false } +lightning = { version = "0.0.116", path = "../lightning", default-features = false } +secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] } +num-traits = { version = "0.2.8", default-features = false } +bitcoin_hashes = { version = "0.11", default-features = false } +hashbrown = { version = "0.8", optional = true } +serde = { version = "1.0.118", optional = true } +bitcoin = { version = "0.29.0", default-features = false } [dev-dependencies] -lightning = { version = "0.0.100", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.0.116", path = "../lightning", default-features = false, features = ["_test_utils"] } +hex = "0.4" +serde_json = { version = "1"}