* Move the EventContent and content marker traits into macro. * Move the raw AnyStateEventContent enum and RawEventContent trait into macro, generate all of the AnyStateEventContent type and impls needed for raw. * Factor out raw mod codegen to seperate fn, add docs to codegen enum + variants, remove unused imports
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.