11 Commits

Author SHA1 Message Date
Jonas Platte
8df746d442
events-macros: Simplify conversion code generation 2021-10-01 20:05:32 +02:00
Jonas Platte
ab6a364e42
events: Use type aliases inside enums 2021-10-01 19:49:25 +02:00
Jonas Platte
bb9f95224c
events: Remove RedactedStrippedStateEvent
Stripped state events are never redacted.
2021-09-15 20:36:20 +02:00
Jonas Platte
11fea54173
events: Disallow more than one event kind attribute
… and also raise an error if there's multiple type attributes (extra
ones used to be ignored).
2021-08-11 19:19:16 +02:00
Jonas Platte
05e28f7422
events: Add types for decrypted event payloads 2021-06-20 09:39:48 +02:00
Devin Ragotzy
34134267c6
events: Generate redact method for content enums
… and remove redacted content structs non-room events
2021-05-15 12:51:20 +00:00
Devin Ragotzy
d1f5fb1d87
events: Declare all event enums inside one macro invocation 2021-05-14 23:52:34 +00:00
Kévin Commaille
7faa59be6b events: Remove BasicToDevice enum 2021-05-12 16:02:44 +02:00
Kévin Commaille
8d8ca81e04 events: Split Basic enum into GlobalAccountData, RoomAccountData and BasicToDevice enums
Closes #563
2021-05-12 16:02:44 +02:00
Devin Ragotzy
c6aa2e0428 Fix clippy warnings across workspace 2021-05-06 06:16:28 -04:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00