25 Commits

Author SHA1 Message Date
Mikoto
629b06e1e4
thirdparty: Implement Borrow/Hash/Eq for ThirdPartyIdentifier 2024-06-18 23:35:19 +02:00
Kévin Commaille
64b3838113 thirdparty: Fix unstable-unspecified feature being non-additive 2024-06-18 13:41:47 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
… and document them.
2023-04-20 14:00:27 +02:00
Kévin Commaille
f159776f52 chore: Make all applicable spec links use the latest spec instead of a specific version 2023-02-12 12:39:24 +01:00
Jonas Platte
b859d9c8b0
common: Derive Debug via StringEnum derive 2023-01-13 13:49:59 +01:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Jonas Platte
1291929131
Rename unstable-pre-spec to unstable-unspecified 2022-09-20 10:39:20 +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
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +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
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
homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals) 2022-03-08 10:24:26 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Kévin Commaille
e5d07e90c5
common: Add link to matrix-doc issue for ProtocolInstance's instance_id field 2022-02-11 10:28:26 +01:00
Jonas Platte
ee977b48f0
Make the inner type of _Custom enum variants unusable
The variant itself would be private if possible, this is the solution
closest to that.
2022-01-13 11:38:48 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST 2021-11-26 00:40:40 +01:00
Jonas Platte
b0db5e94e1
identifiers: Make RoomAliasId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Devin Ragotzy
74b6a4c9d8
common: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Devin Ragotzy
626b5a5d06
common: Make all pub structs non_exhaustive 2021-06-18 11:00:35 +00:00
Julian Sparber
9d34524442 common: Add instance-id field to ProtocolInstance
It's not included in the specs.
See https://github.com/matrix-org/matrix-doc/issues/3203
2021-06-09 21:47:02 +02:00
Jonas Platte
13e3b45070
Move ThirdPartyIdentifier(Init) from client-api to common
While it's not currently used in any other crates in this repo,
synapse-admin-api does use it and it seems logical for it to be defined
alongside the other thirdparty types in common.
2021-06-01 21:53:58 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00