X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2FCargo.toml;h=e98756d552fec3bc90927d1672eb85a04b6764d0;hb=73e2fdf332ed095e641625311d2851f6ecbc0691;hp=5f6f2ef655da402c77c132dd1d8061c9658ece9f;hpb=99073c74ddce0d7b7a09eca1a4d938704309eb19;p=rust-lightning diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index 5f6f2ef6..e98756d5 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning" -version = "0.0.104" +version = "0.0.113" authors = ["Matt Corallo"] license = "MIT OR Apache-2.0" repository = "https://github.com/lightningdevkit/rust-lightning/" @@ -9,6 +9,11 @@ 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"] +rustdoc-args = ["--cfg", "docsrs"] [features] # Internal test utilities exposed to other repo crates @@ -28,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.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"]