X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-invoice%2FCargo.toml;h=cd67bcd36dc486d911b84a2842116ce5e1b2dd16;hb=c70bd1fd558513e72fa03dc16f9556882883046e;hp=129d0f23c3a733b1349b7986971f6ce9e70a163a;hpb=01915810d42506addbaef244b0cbb31e8b3856b5;p=rust-lightning diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 129d0f23..cd67bcd3 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -1,27 +1,34 @@ [package] name = "lightning-invoice" description = "Data structures to parse and serialize BOLT11 lightning invoices" -version = "0.12.0" +version = "0.18.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/" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] [features] default = ["std"] no-std = ["hashbrown", "lightning/no-std", "core2/alloc"] -std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std"] +std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"] [dependencies] -bech32 = "0.8" -lightning = { version = "0.0.104", path = "../lightning", default-features = false } -secp256k1 = { version = "0.20", default-features = false, features = ["recovery", "alloc"] } +bech32 = { version = "0.9.0", default-features = false } +lightning = { version = "0.0.110", 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.10", default-features = false } +bitcoin_hashes = { version = "0.11", default-features = false } hashbrown = { version = "0.11", optional = true } core2 = { version = "0.3.0", default-features = false, optional = true } +serde = { version = "1.0.118", optional = true } [dev-dependencies] -lightning = { version = "0.0.104", path = "../lightning", default-features = false, features = ["_test_utils"] } -hex = "0.3" +lightning = { version = "0.0.110", path = "../lightning", default-features = false, features = ["_test_utils"] } +hex = "0.4" +serde_json = { version = "1"}