They were using a usize suffix which was only valid on 64bit targets.
ruma-events contains serializable types for the events in the Matrix specification that can be shared by client and server code.