Skip to content

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

Keep keyboard shortcut parser available in browser builds

skylar taylor-barrick223e9499c3ab
diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml
index 631befd39..741d927a3 100644
--- a/crates/engine/Cargo.toml
+++ b/crates/engine/Cargo.toml
@@ -36,12 +36,13 @@ photocraft-codecs = { workspace = true }
flate2 = { workspace = true }
craft-print = { workspace = true }
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-tempfile = "3"
# Photoshop `.kys` shortcut sets (`edit.keyboardShortcuts` `importKys`); already in the tree
# through photocraft-ui-egui and usvg.
roxmltree = "0.20"
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
+tempfile = "3"
+
[dev-dependencies]
photocraft-affinity = { workspace = true, features = ["synth"] }
# Synthetic camera raw files for the open tests.