12 Commits

Author SHA1 Message Date
Jonas Platte
ed9138796a
events: Refactor marker trait code generation 2021-05-15 15:18:22 +02:00
Jonas Platte
ab850d8237
events: Remove marker trait
It was not used anywhere.
2021-05-15 15:06:31 +02:00
Jonas Platte
37899db3c5
events: Borrow raw JSON in EventContent::from_parts 2021-05-15 15:02:27 +02:00
Jonas Platte
60d4ea027f
Use serde_json::Result alias 2021-05-15 15:02:02 +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
Jonas Platte
c07c3fa6d5
events: Introduce RedactContent trait 2021-05-15 13:23:20 +02:00
Devin Ragotzy
b6558c64a0 Add global and room account content traits and to device trait 2021-05-14 12:25:30 +02:00
Devin Ragotzy
c7c1251f3f Specify content traits in attribute, remove derives 2021-05-14 12:25:30 +02:00
Kévin Commaille
0acb121ee5 events: Remove BasicEventContent trait and derive 2021-05-12 16:02:44 +02:00
Jonas Platte
698087337b
events: Pass RoomVersionId by reference in redact method 2021-05-10 11:29:28 +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