Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

perf(build): optimize sha2 in dev profile

Steven Enamakel60d7e0053d13
diff --git a/Cargo.toml b/Cargo.toml
index 71a6d4e8a0..b8e9555a31 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -132,3 +132,10 @@ debug = false
[profile.dev.package."*"]
debug = false
+
+# Module admission hashes the host executable (tinybus `attach_linked`), once
+# per process. nextest runs every test in its own process, so an unoptimised
+# SHA-256 over a ~500 MB test binary cost ~10 s per module-backed test. Keep
+# in sync with the other workspace manifest.
+[profile.dev.package.sha2]
+opt-level = 3
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.toml
index c6c1dc96e6..41516eb53d 100644
--- a/crates/openhuman-app/Cargo.toml
+++ b/crates/openhuman-app/Cargo.toml
@@ -415,3 +415,10 @@ debug = false
# * No artifact paths, features, or runtime behaviour change.
[profile.dev.package."*"]
debug = false
+
+# Module admission hashes the host executable (tinybus `attach_linked`), once
+# per process. nextest runs every test in its own process, so an unoptimised
+# SHA-256 over a ~500 MB test binary cost ~10 s per module-backed test. Keep
+# in sync with the other workspace manifest.
+[profile.dev.package.sha2]
+opt-level = 3