]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Move test profile to crate root, so it has effect again
authorMatt Corallo <git@bluematt.me>
Thu, 28 Nov 2019 06:19:54 +0000 (01:19 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 28 Nov 2019 06:21:41 +0000 (01:21 -0500)
Cargo.toml
lightning/Cargo.toml

index 6ec1776c93383db7a9419bbe2d3511372134bfc0..222de893aa46c895c5fdb450bb899761f75f4b30 100644 (file)
@@ -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
index 004e6d25bbbebdcb0151a72a13912856cf59e18d..65d3f66eac948ea7c45914372a8f60aacfdda24d 100644 (file)
@@ -33,6 +33,3 @@ features = ["bitcoinconsensus"]
 [dev-dependencies]
 hex = "0.3"
 rand = "0.4"
-
-[profile.dev]
-opt-level = 1