Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Keep browser command orchestration within the existing size budget

skylar taylor-barrick9db0b309109a
diff --git a/Cargo.toml b/Cargo.toml
index 1ae1c2f5e..9c0d91160 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -113,3 +113,7 @@ opt-level = 3
opt-level = 3
[profile.wasm-release.package.photocraft-paint]
opt-level = 3
+
+# Size-focused command orchestration in the browser; pixel kernels keep their overrides above.
+[profile.wasm-release.package.photocraft-engine]
+opt-level = "z"