From 36f5fb73a9faa31e629fa84054b03e2d330e8564 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 20 May 2019 20:21:08 -0400 Subject: [PATCH] Bump rust-bitcoin to fix DoS, enable LTO --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index efdea2b..fd9c30f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,10 +5,14 @@ authors = ["matt"] edition = "2018" [dependencies] -bitcoin = { git = "https://github.com/TheBlueMatt/rust-bitcoin", rev = "fbff0689f85da9ffa0969cad760cf2b4e903509e" } +bitcoin = { git = "https://github.com/TheBlueMatt/rust-bitcoin", rev = "f86c4581b7a8656e525bec8e3259e1af322a0a5a" } bitcoin_hashes = "0.3" tokio = "0.1" bytes = "0.4" futures = "0.1" rand = "0.6" regex = "1" + +[profile.release] +lto = true +codegen-units = 1 -- 2.39.5