Some servers use an integer to represent e.g. `1` for the order, instead of the double representation (that would be `1.` or `1.0)`. This makes it possible to parse such values as integers too, since they're technically not double. Implementing `visit_u64` and `visit_i64` covers all the smaller sizes too, so I've implemented only that here.
ruma-common
Common types for other Ruma crates.
The feature-gated modules are defined as follow:
api module
Behind the api feature, core types used to define the requests and responses for each endpoint in
the various Matrix API specifications. These types can be shared by client
and server code for all Matrix APIs.
events module
Behind the events feature, serializable types for the events in the Matrix
specification that can be shared by client and server code.