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,