PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Merge branch 'main' into feat/zoom-animation-566
Gustavo Ziger5c941c5656f8
diff --cc Cargo.tomlindex 98218d37f,3c5ad2e0f..e81fe8700--- a/Cargo.toml+++ b/Cargo.toml@@@ -127,15 -127,14 +127,22 @@@ opt-level = "z[profile.wasm-release.package.naga]opt-level = "z"+# The browser UI toolkit favors size to stay within the WebAssembly upload budget.+[profile.wasm-release.package.egui]+opt-level = "z"+[profile.wasm-release.package.epaint]+opt-level = "z"+[profile.wasm-release.package.eframe]+opt-level = "z"+- # Pixel processing keeps its speed-oriented optimization level.+ # Pixel processing keeps its speed-oriented optimization level, with two exceptions.+ # Colour-management transforms are built once and cached (`transform::cached`), so "z" costs+ # little runtime. The browser app composites per frame on the GPU (`crates/gpu`, WebGPU/WebGL2),+ # so the CPU compositor is not the browser's hot path there; "z" for compose keeps the wasm+ # under the 24 MiB gate (measured −122 KB vs opt-level 3). algo's filters run per pixel on+ # every interactive filter application; "z" there is the size lever of last resort (−331 KB),+ # taken because the gate is enforced in CI: if browser filters feel too slow, restore 3 here+ # and reclaim the bytes from a feature-gated decoder instead.[profile.wasm-release.package.photocraft-raster]opt-level = 3[profile.wasm-release.package.photocraft-color]