ui-egui builds on its own: egui serde and toml display asked for by the crate

`cargo test -p photocraft-ui-egui` failed to compile because egui's serde feature and toml's
display feature came only from other workspace crates. Also drops the stale allowlist note in
AUTO-219-8 (the panel-commands allowlist is empty).
This commit is contained in:
aiongg committed 2026-11-18 15:38:06 +00:00
1 parent bfaf39780b
commit 750129f09b
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -34,7 +34,9 @@ photocraft-codecs = { workspace = true }
photocraft-formats = { workspace = true }
# Reading embedded thumbnail resources (1036/1033) for recent files in Home screen.
craft-psd = { workspace = true }
egui = { workspace = true }
# `serde`: the dialog state the control channel and the saved memories read holds `egui::Id`s. Asked for
# here so this crate builds on its own (`cargo test -p photocraft-ui-egui`) and in the browser build.
egui = { workspace = true, features = ["serde"] }
egui_extras = { version = "0.37", default-features = false, features = ["svg"] }
eframe = { workspace = true, features = ["wgpu", "accesskit", "clipboard"] }
serde = { workspace = true }
@@ -77,6 +79,8 @@ tempfile = "3"
# The framework's test helpers, e.g. the thumbnail and fx badge rects of a Layers panel row
# (`craft::layers::testing`), and the in-memory settings files (`craft::settings::testing`).
craft = { workspace = true, features = ["screen-testing", "settings-testing"] }
# The prefs tests write a saved settings file (`toml::to_string`).
toml = { version = "1.1", default-features = false, features = ["std", "serde", "display"] }
[build-dependencies]
serde_json = { workspace = true }
+1 -1
View File
@@ -65,7 +65,7 @@ id = "AUTO-219-8"
target = "xtask check that every panel button routes through a command id"
status = "partial"
issue = 219
note = "cargo xtask panel-commands (run by xtask ci and CI) fails on a shell click handler that changes the document or session directly; 1 allowlisted function left (panels/color.rs color_field assigns the foreground/background colour instead of tools.setColors)"
note = "cargo xtask panel-commands (run by xtask ci and CI) fails on a shell click handler that changes the document or session directly; no allowlisted function left (the Color panel field dispatches tools.setColors)"
[[item]]
id = "AUTO-219-9"