Enable (minimal) optimization in tests
authorMatt Corallo <git@bluematt.me>
Wed, 21 Feb 2024 07:17:01 +0000 (07:17 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 3 Apr 2024 09:14:24 +0000 (09:14 +0000)
As of the next commit, our tests now have to do in-crate crypto, so
even minimal optimization provide a huge speedup.

Cargo.toml

index 7f8d352e41c5314d4d8d6c9bfd643d270a7e4428..9a762deb3f5046e9f32401c0b9779cc2ee20822a 100644 (file)
@@ -33,6 +33,9 @@ rand = { version = "0.8", default-features = false, features = ["getrandom"] }
 tokio_crate = { package = "tokio", version = "1.0", features = ["rt", "macros", "net", "rt-multi-thread"] }
 minreq = { version = "2.0" }
 
+[profile.dev]
+opt-level = 1
+
 [lib]
 name = "dnssec_prover"
 path = "src/lib.rs"