From dfb5cb4cdabd998c02e8fa9ecb9c881aec11559e Mon Sep 17 00:00:00 2001 From: Jakob Westhoff Date: Fri, 25 Apr 2025 16:43:03 +0200 Subject: [PATCH] fix: UnicodeInfo is now Serializable with serialize feature set --- src/rdev.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rdev.rs b/src/rdev.rs index 7c98c6c7..db3d0628 100644 --- a/src/rdev.rs +++ b/src/rdev.rs @@ -328,6 +328,7 @@ pub enum EventType { /// The Unicode information of input. #[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serialize", derive(Serialize, Deserialize))] pub struct UnicodeInfo { pub name: Option, pub unicode: Vec,