Bump rust-bitcoin to fix DoS, enable LTO
authorMatt Corallo <git@bluematt.me>
Tue, 21 May 2019 00:21:08 +0000 (20:21 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 21 May 2019 00:25:23 +0000 (20:25 -0400)
Cargo.toml

index efdea2bc47f0d9e34e7475d0a1151081ab912bb4..fd9c30f68c639d29038923c5455cc082333b9419 100644 (file)
@@ -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