ruwuma/crates/ruma-events
Benjamin Bouvier ccc0a64ba3
events: allow deserialize a m.tag's order as an integer (#1767)
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.
2024-04-18 09:15:27 +00:00
..
2023-08-28 10:23:54 +02:00
2024-04-04 13:20:58 +02:00
2023-08-28 10:23:54 +02:00

ruma-events

crates.io page docs.rs page license: MIT

Serializable types for the events in the Matrix specification that can be shared by client and server code.