26 Commits

Author SHA1 Message Date
Jonas Platte
ec605a0959
identifiers: Make MxcUri a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Jonas Platte
02889b1fb4
events: Use Self alias in AnyMessageEventContent::relation 2021-10-06 21:40:45 +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
678d3cd4ee
events: Small documentation improvements 2021-10-01 19:37:52 +02:00
Jonas Platte
77cf085ab9
events: Don't store extra fields for unknown events in content enums 2021-08-22 13:54:20 +02:00
Adam
d746244241
events: Generate From impls for event (content) enums 2021-08-17 15:44:33 +00:00
Adam
0768f551c3
events: Add unstable support for secret sharing 2021-08-13 14:59:20 +00:00
Jonas Platte
3b0afb520a
events: Optimize deserialization helpers 2021-08-12 20:46:15 +02:00
Devin Ragotzy
db755f994e
events: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Jonas Platte
d73ab8add9
events: Add AnyMessageEventContent::relation 2021-06-20 19:34:29 +02:00
Marcel
a322c8cf08
Add support for spaces 2021-05-20 18:36:35 +02:00
Jonas Platte
4aec2d5ff0
events: Introduce AnyRedacted[Sync]RoomEvent
… and use it to implement Redact for Any[Sync]RoomEvent.
2021-05-15 13:55:57 +02: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
7403bdf1c8
events: Add redact method to Any[Sync]RoomEvent 2021-05-15 02:33:15 +02:00
Jonas Platte
2914c0b6a0
events: Add AnySyncRoomEvent::into_full_event 2021-05-15 02:27:03 +02:00
Jonas Platte
6db34b8ae4
events: Add accessor methods to AnyRoomEvent, AnySyncRoomEvent 2021-05-15 02:25:35 +02:00
Devin Ragotzy
d1f5fb1d87
events: Declare all event enums inside one macro invocation 2021-05-14 23:52:34 +00:00
Damir Jelić
d971b668ec events: Add the to-device variant of the m.key.verification.done event 2021-05-12 17:07:47 +02:00
Damir Jelić
166ee8b9d7 events: Add the to-device variant of the m.key.verification.ready event 2021-05-12 17:07:47 +02: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
Jonas Platte
aca64eccea
events: Remove AnyEvent enum 2021-05-09 21:06:25 +02:00
Kévin Commaille
bbb0b36536
events: Move FullyReadEvent from EphemeralRoomEvent to BasicEvent 2021-05-08 22:19:54 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00