Jimmy Cuadra c25d76e20f Treat deserialization failure as a validation failure.
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.
2019-07-08 03:34:42 -07:00
2019-06-18 16:34:45 -07:00
2019-06-18 16:34:45 -07:00
2019-06-18 16:34:45 -07:00
2019-06-18 16:34:45 -07:00

ruma-events-macros

Build Status

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

MIT

Description
No description provided
Readme MIT 14 MiB
Languages
Rust 100%