14 Commits

Author SHA1 Message Date
Jonas Platte
fd5527da78
Reorder derives (std first) 2020-04-29 22:22:42 +02:00
Jonas Platte
146d2715a4
Derive Serialize for types in push_rules 2020-04-29 21:36:05 +02:00
Jonas Platte
eb3a3e2163
Replace EventResult with EventJson, simplify InvalidEvent 2020-04-22 21:24:39 +02:00
Akshay
8915339e56
Rewrite tests to use serde_json::json! instead of raw strings 2020-03-31 16:07:09 +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
Jonas Platte
ddbb06f21d
Clean up code gen a bit 2020-03-16 21:22:56 +01:00
Jonas Platte
de80253e78
Add #![warn(rust_2018_idioms)], fix warnings 2019-11-12 01:23:01 +01:00
Jonas Platte
665fe4f4f4 Move (de)serialization helpers to util module 2019-10-22 23:56:03 +02:00
Jonas Platte
05562a48a3 WIP 2019-09-29 13:30:51 +02:00
Jimmy Cuadra
b88c621214 impl Display for Action 2019-07-23 00:44:37 -07:00
Jimmy Cuadra
de23971ee4 Deny and address all warnings. 2019-07-19 15:47:14 -07:00
Jimmy Cuadra
596fc3c3df Convert m.push_rules to the new API. 2019-07-19 14:57:39 -07:00
Jimmy Cuadra
ce2a3817cf Rename ParseError to FromStrError and add InvalidEvent. 2019-06-19 22:45:20 -07:00
Jimmy Cuadra
04cdc96b8b Add m.push_rules. 2019-06-15 03:26:50 -07:00