X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2FCargo.toml;h=3f4f5d43503baa409de88300dc93725f2898f4ab;hb=a386d4455d8a6331a2de90974e5c6e7e2718ede2;hp=f38bb80511189ccaf92cce9bbb4a734949ff0e3b;hpb=ca96bb7fb625fc0f63a6866091cf225225dd155d;p=rust-lightning diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index f38bb805..3f4f5d43 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning" -version = "0.0.105" +version = "0.0.114" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -9,6 +9,7 @@ A Bitcoin Lightning library in Rust. Does most of the hard work, without implying a specific runtime, requiring clients implement basic network logic, chain interactions and disk storage. Still missing tons of error-handling. See GitHub issues for suggested projects if you want to contribute. Don't have to bother telling you not to use this for anything serious, because you'd have to build a client around it to even try. """ +edition = "2018" [package.metadata.docs.rs] features = ["std"] @@ -32,27 +33,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.2.11", 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.2.11" -# 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"]