diff --git a/lan-mouse-proto/src/lib.rs b/lan-mouse-proto/src/lib.rs index f6f265e..d4aa5bf 100644 --- a/lan-mouse-proto/src/lib.rs +++ b/lan-mouse-proto/src/lib.rs @@ -1,7 +1,10 @@ use input_event::{Event as InputEvent, KeyboardEvent, PointerEvent}; use num_enum::{IntoPrimitive, TryFromPrimitive, TryFromPrimitiveError}; use paste::paste; -use std::fmt::{Debug, Display}; +use std::{ + fmt::{Debug, Display}, + mem::size_of, +}; use thiserror::Error; /// defines the maximum size an encoded event can take up