X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2FCargo.toml;h=5a54d042a32c55654d2be0e8fe8bc3c65113a237;hb=a534a5e7af4923122a359005a99f01cfb33b451c;hp=f38bb80511189ccaf92cce9bbb4a734949ff0e3b;hpb=b1cd5a74348ad305ce9cacd30749322651811635;p=rust-lightning diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index f38bb805..5a54d042 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning" -version = "0.0.105" +version = "0.0.106" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -32,12 +32,13 @@ _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.28.1", default-features = false, features = ["secp-recovery"] } hashbrown = { version = "0.11", optional = true } hex = { version = "0.4", optional = true } @@ -49,10 +50,8 @@ core2 = { version = "0.3.0", optional = true, default-features = false } [dev-dependencies] hex = "0.4" regex = "0.2.11" -# TODO remove this once rust-bitcoin PR #637 is released -secp256k1 = { version = "0.20.2", default-features = false, features = ["alloc"] } [dev-dependencies.bitcoin] -version = "0.27" +version = "0.28.1" default-features = false features = ["bitcoinconsensus", "secp-recovery"]