Ragotzy.devin
ef6e2e7023
Add derive macro for StateEventContent
2020-06-07 01:02:49 +02:00
Ragotzy.devin
f0c94958fa
Move raw
mod into FromRaw derive
2020-06-07 01:02:49 +02:00
Ragotzy.devin
1a9b0f3e8b
Add StateEvent<C> and AnyStateEvent
2020-06-07 01:02:49 +02:00
Ragotzy.devin
3d01bfa96d
Remove Event, RoomEvent and StateEvent traits
2020-06-07 01:02:49 +02:00
Jonas Platte
d083127297
Update change log, bump versions
2020-05-26 18:45:12 +02:00
Jonas Platte
655e73dcf6
Update macro dependencies
2020-05-26 18:44:52 +02:00
Devin R
54fcc36735
remove allow clippy::identity_conversion
2020-05-23 13:31:14 +02:00
Jonas Platte
d6cfbaa47d
Bump dependencies, versions
2020-05-19 12:27:57 +02:00
Jonas Platte
206a824f3e
Add EventJson::into_json
2020-05-09 15:42:31 +02:00
Jonas Platte
f30df65dba
Bump version
2020-05-03 01:00:39 +02:00
Jonas Platte
62772f4c7f
Bump macro dependency versions
2020-05-03 01:00:07 +02:00
Jonas Platte
ca5c65ef10
Revise trait implementations
2020-05-02 14:15:13 +02:00
Jonas Platte
f783ea6167
Fix unsigned field deserialization
2020-04-28 00:30:05 +02:00
Jonas Platte
55340d18c8
Add struct UnsignedData and update unsigned fields to use it
2020-04-28 00:03:48 +02:00
Jonas Platte
e23a2d7662
Bump versions
2020-04-22 21:27:41 +02:00
Jonas Platte
eb3a3e2163
Replace EventResult with EventJson, simplify InvalidEvent
2020-04-22 21:24:39 +02:00
Jonas Platte
4a7513eeb5
Update ruma-identifiers, bump version
2020-04-20 17:11:34 +02:00
Jonas Platte
ab92533e7e
Bump versions
2020-04-19 23:15:08 +02:00
Jonas Platte
ba9b9c89e8
Bump version to 0.19.0-rc.2
2020-04-19 20:00:36 +02:00
Jonas Platte
2480bb292a
Replace HashMap with BTreeMap
2020-04-19 17:46:36 +02:00
Jonas Platte
eaf26fdb0b
Bump versions, update change log
2020-04-17 23:28:02 +02:00
Jonas Platte
c82605c485
Update macro dependencies
2020-04-17 23:27:24 +02:00
Jonas Platte
dc0a9f88ba
Change timestamp types from UInt to SystemTime
2020-04-17 22:43:30 +02:00
Jonas Platte
8effddb5ec
Bump versions
2020-03-29 17:07:56 +02:00
Jonas Platte
23655d9cad
Bump dependencies
2020-03-29 17:07:04 +02:00
Jonas Platte
cba7b161e9
Update unsigned field's type from Option<Value>
to Map<String, Value>
...
* it's guaranteed to always be an object
* `Option` isn't needed because the distinction empty object / missing
field is not of interest
2020-03-29 15:37:57 +02:00
Jonas Platte
53f76992e5
Update change logs
2020-03-29 14:25:44 +02:00
Akshay
f09ab98f17
Remove manual Serialize impl, use derive macro instead
2020-03-29 13:41:42 +02:00
Ragotzy.devin
8ea971b082
Derive Serialize in ruma_events!
, use json EventType string for event_type
field
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-24 14:25:50 +01:00
Ragotzy.devin
14df832005
Remove special handling of custom events
2020-03-24 11:31:47 +01:00
Jonas Platte
5a79b766c7
Revert "Remove special handling of custom events"
...
This reverts commit 539dd5f31dff172b5d6559378e33982d0a0c3333.
2020-03-24 11:31:36 +01:00
Ragotzy.devin
539dd5f31d
Remove special handling of custom events
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-24 11:27:55 +01:00
Jonas Platte
0c6dd0ba32
Simplify proc_macro tests
...
… by moving them from ruma-events-macros to ruma-events and updating the
macros to work in different contexts (without items like FromRaw being
available at the calling crate's root)
2020-03-17 13:10:40 +01:00
Jonas Platte
016659a99c
Split impl FromRaw
generation into its own macro
2020-03-16 23:27:32 +01:00
Jonas Platte
ddbb06f21d
Clean up code gen a bit
2020-03-16 21:22:56 +01:00
Jonas Platte
8a9bbb8c83
Don't deny(warnings)
2020-03-16 21:13:44 +01:00
Donough Liu
e60e502183
More tests for ruma-events-macros
2020-03-11 21:47:56 +08:00
stoically
3128351031
Rename event_type when deserializing custom events
2020-01-01 20:20:13 +01:00
Jonas Platte
1a3f6ed0b6
Derive Serialize, Deserialize impls for some enums
2019-12-15 20:26:06 +01:00
Jonas Platte
98f85df276
Remove unnecessary explicit lifetimes
2019-12-15 20:23:57 +01:00
Jonas Platte
370c56ef31
Use quote::format_ident!
2019-12-13 20:42:20 +01:00
Jonas Platte
a57e867279
Fixup for previous commit
2019-11-24 20:52:53 +01:00
Jonas Platte
b9f5fd796e
Bump MSRV to 1.36.0
2019-11-24 15:43:13 +01:00
Jonas Platte
d5d0393792
Add CHANGELOG.md's
2019-11-01 19:34:42 +01:00
Jonas Platte
64a05a3c04
Bump versions
2019-10-24 22:56:06 +02:00
Jonas Platte
a118ee3e9e
Update ruma-events-macros' dependencies
2019-10-24 22:55:33 +02:00
Jonas Platte
1af436b775
Simplify InvalidEvent, update its documentation
2019-10-24 22:26:20 +02:00
Jonas Platte
cb4bddf60a
Disable clippy lint use_self for ruma-events-macros
2019-10-23 03:05:02 +02:00
Jonas Platte
60c817e1b0
Restore Rust 1.34.2 compatibility
2019-10-23 02:09:34 +02:00
Jonas Platte
c925cd13f1
Update documentation
2019-10-23 01:42:06 +02:00