13 Commits

Author SHA1 Message Date
Jimmy Cuadra
e13acb4d7d Fix copy/paste error. 2019-06-20 17:08:38 -07:00
Jimmy Cuadra
553d9c05cd Add support for events with custom types. 2019-06-20 17:05:30 -07:00
Jimmy Cuadra
44a13e6515 Add span information to token streams when possible. 2019-06-19 23:50:06 -07:00
Jimmy Cuadra
52754f617c Import Event trait in Serialize impl so event_type can be called. 2019-06-19 23:36:16 -07:00
Jimmy Cuadra
f663c79250 Remove extra commas from generated code. 2019-06-19 23:36:01 -07:00
Jimmy Cuadra
4423275ce2 Implement RoomEvent and StateEvent when applicable. 2019-06-19 22:40:58 -07:00
Jimmy Cuadra
be0f1d0363 Add inherent impl with from_str method. 2019-06-19 21:14:49 -07:00
Jimmy Cuadra
78e25552fb Implement Serialize and Event. 2019-06-19 16:52:54 -07:00
Jimmy Cuadra
3b65905784 Generate content types and raw module. 2019-06-19 16:08:43 -07:00
Jimmy Cuadra
a5834ea192 Combine and sort common and custom fields using a Vec<Field>. 2019-06-19 15:40:29 -07:00
Jimmy Cuadra
2f54ee3e32 Implement generation of structs. 2019-06-18 17:54:50 -07:00
Jimmy Cuadra
48d6ef7ead Split parsing and generation into separate modules. 2019-06-18 16:59:48 -07:00
Jimmy Cuadra
65bd8e86cc ruma-events-macros 2019-06-18 16:34:45 -07:00