diff --git a/crates/ui-egui/Cargo.toml b/crates/ui-egui/Cargo.toml index f1577962f5..1cf6b437c8 100644 --- a/crates/ui-egui/Cargo.toml +++ b/crates/ui-egui/Cargo.toml @@ -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 } diff --git a/scorecard/automation.toml b/scorecard/automation.toml index 12ca0d2ecb..682763ac43 100644 --- a/scorecard/automation.toml +++ b/scorecard/automation.toml @@ -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"