If a ruma-events type fails deserialization, but the input was valid JSON, this should be treated as a validation failure instead of a deserialization failure. In this case, attempt to deserialize the json into a `serde_json::Value`, and only return a deserialization error if that fails.
ruma-events-macros
ruma-events-macros provides a procedural macro for easily generating event types for ruma-events.
Documentation
ruma-events-macros has comprehensive documentation available on docs.rs.
License
Languages
Rust
100%