Update to serde_yaml 0.9.*

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/624>
This commit is contained in:
MoonlightWave-12
2024-03-19 16:59:20 +01:00
parent 807a994b8d
commit 332e5f91c8
5 changed files with 54 additions and 68 deletions

View File

@ -62,6 +62,7 @@ struct ButtonMeta {
// to detect conflicts and missing values at compile time
/// Special action to perform on activation.
/// Conflicts with keysym, text, modifier.
#[serde(with = "serde_yaml::with::singleton_map", default)]
action: Option<Action>,
/// The name of the XKB keysym to emit on activation.
/// Conflicts with action, text, modifier.