15 Commits

Author SHA1 Message Date
Jonas Platte
6a5af6bf8b Make inclusion lists in event filters optional
to be able to distinguish between no inclusion list (everything is
included) and an empty inclusion list (nothing is included)
2019-08-05 20:55:38 +02:00
Jimmy Cuadra
a16eb7cfe1 Use js_int types for numbers.
See https://github.com/ruma/ruma-events/issues/27 for rationale.
2019-06-16 16:32:56 -07:00
Jonas Platte
af954220bd Replace serde_derive by re-exports in serde 2019-02-06 20:36:39 +01:00
Alejandro Domínguez
d48fc54c96 Use folders instead of mods 2019-01-22 18:41:41 +01:00
Jonas Platte
bc968c8e14 Update to Rust 2018 2019-01-13 21:22:37 +01:00
Jimmy Cuadra
d042f63146 Update dependencies and convert to ruma-api-macros 0.2. 2018-05-19 02:28:43 -07:00
Florian Jacob
000b4af1b2 RoomFilter: fix typo
nevertheless a breaking change
2018-05-17 17:48:09 +02:00
Jimmy Cuadra
392dc69b17 Use ruma-api-macros for the filter endpoints. 2017-05-21 02:19:54 -07:00
Victor Berger
8ab3c737b8
Update to ruma-api v0.3.
Also fixes a few errors encountered in the process and remove depcrecated tokenrefresh endpoint.
2017-01-08 18:19:27 +01:00
Jimmy Cuadra
0535405ae6 Derive Clone, Copy, and Debug for Endpoint structs. 2016-12-30 23:13:19 -08:00
Jimmy Cuadra
b103b87090 Link endpoint paths directly to the spec. 2016-12-30 14:53:51 -08:00
Victor Berger
3c324d526c
Add serde attributes to Option and Vec, and missing #[derive]s 2016-12-28 19:38:50 +01:00
Victor Berger
6da028c0fe
fix doc error in get_filter 2016-12-28 17:36:25 +01:00
Victor Berger
db7f614ad7
filter endpoints 2016-12-28 17:13:57 +01:00
Jimmy Cuadra
409b8202f7 Define module layout and fill in types for a few APIs. 2016-09-30 16:13:59 -07:00