29 Commits

Author SHA1 Message Date
Jonas Platte
b859d9c8b0
common: Derive Debug via StringEnum derive 2023-01-13 13:49:59 +01:00
Jonas Platte
1c9e0e7718
Allow room_types in directory::Filter to be null with the compat feature 2022-12-16 09:56:18 +01:00
Jonas Platte
3211fccab0
Remove borrowing in requests 2022-11-28 14:02:35 +01:00
Jonas Platte
0a56dfb46e
common: Derive Default for (Incoming)RoomNetwork 2022-11-14 14:24:38 +01:00
Kévin Commaille
f068c3fb5a directory: Stabilize room_types and room_type for /publicRooms 2022-10-01 11:12:13 +02:00
Jonas Platte
4fb051ba0f Use Default derive for enums 2022-09-20 13:49:16 +02:00
Kévin Commaille
4bd30eb7e5 common: Add suport for filtering public rooms by room type
According to MSC3827
2022-08-03 10:57:02 +02:00
Kévin Commaille
226502b9bc common: Move RoomNetwork serde in its own file 2022-08-03 10:57:02 +02:00
Jonas Platte
a8e7c47bbe
Remove RoomName type 2022-06-03 11:40:33 +02:00
Jonas Platte
73c2963ebd
Enforce consistent semicolons after ()-typed expressions in blocks 2022-06-03 08:40:16 +02:00
Kévin Commaille
240c8bc4b8 macros: Derive as_str() for types that derive StringEnum 2022-05-30 17:17:06 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02:00
Jonas Platte
026ccd7e5b common: Use new owned ID types in non-event modules 2022-04-20 10:39:36 +02:00
Kévin Commaille
688d5bf47a
docs: Improve string enums documentation
Mention the conversion from string.
2022-04-10 14:48:09 +02:00
Jonas Platte
a6a530dcc8 serde: Rename derive macro Outgoing to Incoming
All it does now is generate `Incoming{Self}` types.
2022-03-22 13:19:03 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
Kévin Commaille
2047dbf420
common: Add join_rule to directory::PublicRoomsChunk 2022-02-23 14:18:31 +01:00
Jonas Platte
e337367304
common: Remove aliases from PublicRoomsChunk
It was removed as part of Matrix v1.2:
https://spec.matrix.org/v1.2/changelog/#client-server-api
2022-02-18 11:53:03 +01:00
Jonas Platte
7ebe660402
common: Add compatibility hack for empty-string canonical_alias 2021-12-09 12:38:30 +01:00
Jonas Platte
2d4dbfe42f
identifiers: Make RoomId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
b0db5e94e1
identifiers: Make RoomAliasId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
ec605a0959
identifiers: Make MxcUri a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
438efee143
identifiers: Remove Box<$id> aliases 2021-11-25 21:07:14 +01:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Adam
63411165da
Move RoomName to ruma-identifiers and use it more 2021-08-10 15:22:47 +02:00
Devin Ragotzy
626b5a5d06
common: Make all pub structs non_exhaustive 2021-06-18 11:00:35 +00:00
Devin Ragotzy
c6aa2e0428 Fix clippy warnings across workspace 2021-05-06 06:16:28 -04:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00