Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Optimize Argon2 in tests

Manav Rathi89100e708464
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 3e12f0469e..abd9a2321f 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -43,6 +43,10 @@ thiserror = "2.0.18"
uniffi = { version = "0.31.0" }
wasm-bindgen = "0.2.125"
+# Unoptimized Argon2 makes production-strength derivations dominate test runtime.
+[profile.dev.package.argon2]
+opt-level = 3
+
# Keep transitive ORT users (notably transcribe-rs) on the same revision as direct ORT dependencies.
[patch.crates-io]
ort = { git = "https://github.com/pykeio/ort.git", rev = "31c8f1443bb579bfddb82705288347697e468fb3" }