X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2FCargo.toml;h=c2c3077a5df3b9e16c61ac05f5e22ccbe61a9eae;hb=2fa45ae891daa5ac837d3ec3f0c370d168ed33bf;hp=058a3b4f7c80d2be557d2004b3d721edd6a230ac;hpb=62b1e01ad99a46d5824912272962644d9d7ae002;p=rust-lightning diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index 058a3b4f..c2c3077a 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning" -version = "0.0.104" +version = "0.0.111" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -32,27 +32,26 @@ _bench_unstable = [] no-std = ["hashbrown", "bitcoin/no-std", "core2/alloc"] std = ["bitcoin/std"] -default = ["std"] +# Generates low-r bitcoin signatures, which saves 1 byte in 50% of the cases +grind_signatures = [] + +default = ["std", "grind_signatures"] [dependencies] -bitcoin = { version = "0.27", default-features = false, features = ["secp-recovery"] } -# TODO remove this once rust-bitcoin PR #637 is released -secp256k1 = { version = "0.20.2", default-features = false, features = ["alloc"] } +bitcoin = { version = "0.29.0", default-features = false, features = ["secp-recovery"] } -hashbrown = { version = "0.11", optional = true } +hashbrown = { version = "0.8", optional = true } hex = { version = "0.4", optional = true } -regex = { version = "0.1.80", optional = true } +regex = { version = "1.5.6", optional = true } backtrace = { version = "0.3", optional = true } core2 = { version = "0.3.0", optional = true, default-features = false } [dev-dependencies] hex = "0.4" -regex = "0.1.80" -# TODO remove this once rust-bitcoin PR #637 is released -secp256k1 = { version = "0.20.2", default-features = false, features = ["alloc"] } +regex = "1.5.6" [dev-dependencies.bitcoin] -version = "0.27" +version = "0.29.0" default-features = false features = ["bitcoinconsensus", "secp-recovery"]