Speed up bcrypt and blowfish in tests

Build optimized versions of bcrypt and blowfish to speed them up, referencing things like https://github.com/oxidecomputer/omicron/blob/main/Cargo.toml#L981-L982

Password hashing is not a dominating cost, so this doesn't have a significant impact on the overall time, but a lot of tests like `**tranquil-pds::legacy_2fa** **test_legacy_2fa_code_consumed_after_use**` speed up. It goes from 5.6s to 2.7s on my machine.
This commit is contained in:
Johanna Larsson
2026-09-23 17:24:44 +00:00
committed by Tangled
parent 06b1255733
commit 781be29d7b
+6
View File
@@ -170,3 +170,9 @@ lto = "fat"
codegen-units = 1
debug = 1
strip = false
[profile.dev.package.bcrypt]
opt-level = 3
[profile.dev.package.blowfish]
opt-level = 3