X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-invoice%2FCargo.toml;h=1692988ba0b0c71913b7307d47f69d6a595d9d2f;hb=38b78eccb5e579558369f6e152647588acd11b38;hp=1169d9283cb67ceae0635d9a66e1a6104194d774;hpb=ab0739e3ea5df4552cb77d051b7625349e222229;p=rust-lightning diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml index 1169d928..1692988b 100644 --- a/lightning-invoice/Cargo.toml +++ b/lightning-invoice/Cargo.toml @@ -1,20 +1,33 @@ [package] name = "lightning-invoice" description = "Data structures to parse and serialize BOLT11 lightning invoices" -version = "0.9.0" +version = "0.29.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 = "2021" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[features] +default = ["std"] +no-std = ["lightning/no-std"] +std = ["bitcoin/std", "lightning/std", "bech32/std"] [dependencies] -bech32 = "0.8" -lightning = { version = "0.0.101", 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.121", path = "../lightning", default-features = false } +secp256k1 = { version = "0.27.0", default-features = false, features = ["recovery", "alloc"] } +serde = { version = "1.0.118", optional = true } +bitcoin = { version = "0.30.2", default-features = false } [dev-dependencies] -hex = "0.3" -lightning = { version = "0.0.101", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.0.121", path = "../lightning", default-features = false, features = ["_test_utils"] } +hex = { package = "hex-conservative", version = "0.1.1", default-features = false } +serde_json = { version = "1"} +hashbrown = { version = "0.13", default-features = false }