Jimmy Cuadra
4be050b19a
Convert m.tag and m.typing to the new API.
2019-07-19 14:35:21 -07:00
Jimmy Cuadra
f4b7204f31
Derive PartialEq where possible.
2019-06-15 00:03:32 -07:00
Jimmy Cuadra
ba2538dda9
Update existing events for spec r0.5.0 and add m.fully_read and
...
m.room.message.feedback.
2019-06-12 16:20:10 -07:00
Jonas Platte
7f18e1c32e
Replace serde_derive by re-exports in serde
2019-02-06 20:12:30 +01:00
Jonas Platte
1b2cd339cb
Update to Rust 2018
2019-01-16 00:13:10 +01:00
Victor Berger
e9fc9b03fd
Make room_id optional
...
This field can be absent in some contextes, notably in the responses
to the /sync endpoint, where the events are summarised in the initial
sync of a client.
Fixes #19
2019-01-08 18:27:33 +01:00
Konstantinos Sideris
a9490dbee8
Update matrix events to their latest version
2017-11-16 11:22:07 +02:00
Jimmy Cuadra
f57a1aec48
Derive Clone for basically everything. Close #3."
2016-10-16 16:20:25 -07:00
Jimmy Cuadra
8392852741
Convert Event, RoomEvent and StateEvent into traits.
2016-10-02 03:46:16 -07:00
Jimmy Cuadra
5326091981
Use ruma-identifiers types for ID values.
2016-07-28 03:04:07 -07:00
Jimmy Cuadra
070a6fe633
Add second generic parameter to events and add missing docs.
2016-07-02 03:33:10 -07:00
Jimmy Cuadra
b0b7a3e6ea
Remove EventKind trait.
2016-07-02 01:26:22 -07:00
Jimmy Cuadra
b84fc9b23e
Add EventKind trait.
2016-06-23 04:13:43 -07:00
Jimmy Cuadra
68265a9387
Revert the package name to ruma-events.
2016-06-21 21:29:43 -07:00
Jimmy Cuadra
dd1a3979e6
Rename package to ruma-common and namespace event types.
2016-06-20 22:47:51 -07:00
Jimmy Cuadra
09ecdfa470
Derive Debug and {De,}Serialize for all types.
2016-06-04 03:09:32 -07:00
Jimmy Cuadra
d525766c99
Make all fields public.
2016-06-04 02:57:24 -07:00
Jimmy Cuadra
fd03a1e162
Make all fields owned values and remove event traits.
2016-06-04 02:49:24 -07:00
Jimmy Cuadra
0270e84a1d
Return an EventType from Event::event_type.
2015-11-30 00:05:53 -08:00
Jimmy Cuadra
787f4d0af2
Move each event into its own module.
2015-11-29 23:38:23 -08:00
Jimmy Cuadra
df73d2815a
Prepend "Event" to event type names.
2015-11-29 06:17:14 -08:00
Jimmy Cuadra
424c0f335d
ruma-events
2015-11-29 04:59:34 -08:00