mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-30 11:12:24 +01:00
- The live set found beside Photoshop is offered, never applied unasked: an
"Import keyboard shortcuts?" prompt names the set and how many keys it
changes, with Import / Don't Import. Either answer is recorded in
dialogs.photoshopShortcuts, so it is asked once; ui.inspect shows the
pending offer as kysOffer.
- Parsing and label matching moved to the engine (photocraft_engine::kys), so
edit.keyboardShortcuts {"importKys": <xml>} imports a set from agents, the
CLI and MCP; the app's dialog uses the same plan with its menus' labels.
- "The keyboard shortcut set was not imported: {error}" is translated.
- .kys input over 4 MiB is refused before it is read as text.
Co-authored-by: Brandon Thomas <echelon@gmail.com>
47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
[package]
|
|
name = "photocraft-engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Real-file corpus tests (opt-in; `cargo xtask test-corpus`). Fail when the corpus is missing.
|
|
corpus = []
|
|
|
|
[dependencies]
|
|
photocraft-geom = { workspace = true }
|
|
photocraft-color = { workspace = true }
|
|
photocraft-cms = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
photocraft-doc = { workspace = true }
|
|
photocraft-ops = { workspace = true }
|
|
photocraft-compose = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
rayon = { workspace = true }
|
|
photocraft-paint = { workspace = true }
|
|
photocraft-algo = { workspace = true }
|
|
photocraft-text = { workspace = true }
|
|
photocraft-vector = { workspace = true }
|
|
photocraft-io = { workspace = true }
|
|
photocraft-psd = { workspace = true }
|
|
photocraft-format = { workspace = true }
|
|
photocraft-plugins = { workspace = true }
|
|
blake3 = { version = "1.8", default-features = false, features = ["pure"] }
|
|
photocraft-codecs = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
# Photoshop `.kys` shortcut sets (`edit.keyboardShortcuts` `importKys`); already in the tree
|
|
# through photocraft-ui-egui and usvg.
|
|
roxmltree = "0.20"
|
|
|
|
[dev-dependencies]
|
|
photocraft-affinity = { workspace = true, features = ["synth"] }
|
|
# Synthetic camera raw files for the open tests.
|
|
photocraft-raw = { workspace = true, features = ["testgen"] }
|
|
# WebAssembly text -> binary for plug-in test modules (Apache-2.0 WITH LLVM-exception).
|
|
wat = "1.228"
|