ruwuma/ruma-events
Ragotzy.devin 5e428ac95a
Add support for redacted events
* Generate redacted event enums and implement corresponding event structs
* Enable the *EventContent derives to generate redacted events

  Most redacted event code is now generated by the *EventContent derive
  macro. The exception are any content structs with the custom_redaction
  attribute. This leaves implementing up to the user.
* Add redact method to Redaction/CustomEventContent
* Add accessor methods for redacted event enums
* Add RedactedEventContent trait and super traits to match EventContent
2020-07-11 14:59:36 +02:00
..
2020-07-11 14:59:36 +02:00
2020-07-11 14:59:36 +02:00

ruma-events

crates.io page docs.rs page license: MIT

ruma-events contains serializable types for the events in the Matrix specification that can be shared by client and server code.

Minimum Rust version

ruma-events requires Rust 1.40.0 or later.

Documentation

ruma-events has comprehensive documentation available on docs.rs.