20 Commits

Author SHA1 Message Date
Jonas Platte
b08e8cff9d
events: Remove custom module
… and shuffle things around so there's still a content type that can be
used for _Custom event enum variants.
2022-02-08 19:12:19 +01:00
Jonas Platte
3cb728e61a
Enforce most serde_json import renames through clippy 2022-01-03 12:28:15 +01:00
Jonas Platte
6b76d7813e
identifiers: Shorten RoomVersionId variant names 2021-11-26 01:07:26 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST 2021-11-26 00:40:40 +01:00
Jonas Platte
52608cc72c
identifiers: Make EventId a DST 2021-11-25 22:34:40 +01:00
Jonas Platte
4e2fdcb990
events: Remove redacted event content enums
They weren't being used anywhere.
2021-10-06 20:33:40 +02:00
Jonas Platte
3550ed9b1e
events: Add more trailing commas 2021-10-06 20:29:55 +02:00
Jonas Platte
04080085f9
events: Include all event type segments in Rust type names 2021-10-02 21:25:21 +02:00
Jonas Platte
2bf17fd727
events: Further clean up tests 2021-09-19 19:10:52 +02:00
Devin Ragotzy
e05aad184e events: Make all pub structs non_exhaustive 2021-06-18 20:53:06 +02:00
Jonas Platte
349a57ffc7
events: Rename & hide event enum Custom variant 2021-06-17 19:43:23 +02:00
Jonas Platte
ecf875358c
events: Fix issues from not testing previous commits 2021-05-16 22:53:00 +02:00
Jonas Platte
89b169faf3
events: Fix redacted tests 2021-05-15 15:20:17 +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
702b619417
events: Introduce Redact trait 2021-05-15 13:26:05 +02:00
Jonas Platte
18005244c9
events: Merge RedactedSyncUnsigned and RedactedUnsigned 2021-05-15 13:12:13 +02:00
Jonas Platte
5710d2740c
Replace uses of SystemTime with new UInt-based timestamp types 2021-05-14 01:13:17 +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