* 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
ruma-events
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.