From: Matt Corallo Date: Thu, 28 Nov 2019 06:19:54 +0000 (-0500) Subject: Move test profile to crate root, so it has effect again X-Git-Tag: v0.0.12~172^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a62e96bcd9831f747248f02d238318715b0bdfe6;p=rust-lightning Move test profile to crate root, so it has effect again --- diff --git a/Cargo.toml b/Cargo.toml index 6ec1776c9..222de893a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,7 @@ members = [ "lightning", "lightning-net-tokio", ] + +# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it +[profile.dev] +opt-level = 1 diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index 004e6d25b..65d3f66ea 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -33,6 +33,3 @@ features = ["bitcoinconsensus"] [dev-dependencies] hex = "0.3" rand = "0.4" - -[profile.dev] -opt-level = 1