mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-24 22:25:55 -05:00
always optimize scrypt password hashes
This commit is contained in:
parent
877e455686
commit
c8c65206d5
@ -64,6 +64,12 @@ uuid = { version = "0.8", features = ["serde", "std", "v4"] }
|
||||
reqwest = { version = "0.10.1", features = ["json"] }
|
||||
tempdir = "0.3"
|
||||
|
||||
[profile.dev.package.scrypt]
|
||||
# On an Intel i3-6100U @ 2.30 GHz, a single scrypt password hash takes 7.6
|
||||
# seconds at opt-level=0, or 0.096 seconds at opt-level=2. Always optimize this
|
||||
# crate to avoid seeming hung / being annoyingly slow when debugging.
|
||||
opt-level = 2
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user