21 Commits

Author SHA1 Message Date
Jonas Platte
80c060cb69 Remove usage of ruma_api! 2022-11-12 10:17:24 +01:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Kévin Commaille
e6e7e52034 client-api: Send CORP headers by default for media responses
According to MSC3828.
2022-10-10 19:09:39 +02:00
Kévin Commaille
e2e123dd89 client-api: Move Direction to the root of the crate 2022-10-10 18:04:04 +02:00
Kévin Commaille
fa64b36c11 client-api: Add support for the threads list API
According to MSC3856
2022-09-30 21:17:20 +02:00
Jonas Platte
9dd4014750
client-api: Export nothing with neither client nor server feature active
… to work around a build failure in that configuration.
This configuration is useful either way.
2022-09-12 20:51:50 +02:00
Jonas Platte
61282642c0
client-api: Rewrite small test to remove test-only PartialEq impl 2022-06-21 18:02:16 +02:00
Kévin Commaille
a077c4ea77 client-api: Stabilize MSC2675 2022-06-20 17:44:18 +02:00
Kévin Commaille
70b3d1e55b client-api: Add relations querying endpoint
According to MSC2675
2022-06-14 16:39:03 +02:00
Jonas Platte
56cf3ce94c Allow buggy clippy lint on a per-crate basis
The previous method of allowing it through .cargo/config.toml doesn't
seem to work anymore.
2022-06-08 11:45:29 +02:00
Kévin Commaille
a0e05c0a31
client-api: Move get_capabilities into discovery 2022-03-13 09:56:16 +01:00
Kévin Commaille
fbe07e8636
client-api: Rename discover module to discovery
Align with federation-api
2022-03-13 09:45:02 +01:00
Kévin Commaille
84e1c919c9
client-api: Implement space summary API
According to MSC2946
2022-03-01 15:57:43 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints 2022-02-18 11:03:55 +01:00
Jonas Platte
7a70d96235
Remove PrivOwnedStr() from Debug formatting 2022-02-15 17:46:27 +01:00
Kévin Commaille
b8a741cb30
client-api: Move MSC2858 out of unstable-pre-spec 2022-01-20 13:29:22 +00: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
9621b83d49
Use doc_auto_cfg for automatic cfg documentation 2022-01-02 19:22:42 +01:00
Jonas Platte
21e4c90cfa
Revert "client-api: Allow testing sync_events structs for exhaustiveness"
This reverts commit c816630058ab625d93ebab294e9e6c02dd9d866c.

Checking match exhaustiveness can now be done through the new
non_exhaustive_omitted_patterns lint.
2021-09-21 15:08:47 +02:00
Jonas Platte
cf291bd5ba
Clean up lint attributes 2021-05-05 23:39:52 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00