From 47cfac7f4c35b395b5ccd4cf7b6cdb7f12e7562a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 8 Jul 2022 16:23:47 +0200 Subject: [PATCH] test: Optimize sha2 even in debug builds This makes the tests finish on my machine twice as fast. This works mainly because some tests utilize pbkdf2 to derive a key from a passphrase. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 61870bb88..25b490bb1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,3 +20,4 @@ lto = true # Optimize quote even in debug mode. Speeds up proc-macros enough to account # for the extra time of optimizing it for a clean build of matrix-sdk-ffi. quote = { opt-level = 2 } +sha2 = { opt-level = 2 }