Jonas Platte
|
f818b53ca1
|
Make conversions from Ruma types to http types generic
So users can select the Body type that makes the most sense for them.
|
2021-04-23 13:26:10 +02:00 |
|
Johannes Becker
|
0ca5785ead
|
api: Replace access_token Option with SendAccessToken enum
|
2021-04-23 10:56:04 +02:00 |
|
Jonas Platte
|
0e197aae0b
|
api: Update try_from_http_request to be generic like try_from_http_response
|
2021-04-12 20:38:22 +02:00 |
|
Kévin Commaille
|
b89a18fa16
|
client-api: Fix check warnings and tests with no feature enabled
|
2021-04-12 18:57:04 +02:00 |
|
Jonas Platte
|
a310ccc318
|
client-api: Move some tests behind feature flags
|
2021-04-06 17:20:47 +02:00 |
|
Jonas Platte
|
e1bedc819c
|
Use ruma_identifiers::ServerName in more endpoints
Co-authored-by: Timo Kösters <timo@koesters.xyz>
|
2020-09-21 23:12:45 +02:00 |
|
Vincent Lee
|
d36d005b97
|
Change requires_authentication: bool to authentication: AuthScheme
|
2020-09-18 16:28:51 +02:00 |
|
Jonas Platte
|
67d113ba57
|
api: Add non_exhaustive attribute to request and reponse types through the macro
|
2020-09-11 21:01:02 +02:00 |
|
Nicholas Young
|
7ccdaa34d6
|
feature gate exhaustive types for all spec crates:
- ruma-appservice-api
- ruma-client-api
- ruma-events
- ruma-federation-api
|
2020-09-01 18:39:41 -06:00 |
|
Jonas Platte
|
e2406cc8f0
|
client-api: Update directory endpoints to the new API standards
|
2020-08-30 22:44:27 +02:00 |
|
Isaiah Inuwa
|
eaf3fd41cc
|
Use shared directory types from ruma-common in ruma-federation-api and ruma-client-api
|
2020-08-14 12:14:21 +02:00 |
|
Jonas Platte
|
987d48666c
|
Split Endpoint trait into OutgoingRequest, IncomingRequest
|
2020-08-12 23:33:27 +02:00 |
|
Jonas Platte
|
c39e9f5779
|
client-api: Move tests in get_public_rooms into tests module
|
2020-08-08 21:07:35 +02:00 |
|
Jonas Platte
|
f37fc6845f
|
Remove borrowing from API responses
To borrow these with correct lifetimes, we would need GATs
|
2020-08-08 21:04:45 +02:00 |
|
Devin Ragotzy
|
7f0f5be1fe
|
Convert alias mod and get_public_rooms to use Outgoing trait
|
2020-08-07 22:08:03 +02:00 |
|
Ragotzy.devin
|
5376a3fc6e
|
Add colons to ruma_api! macro after each keyword
|
2020-06-30 13:06:37 +02:00 |
|
Jonas Platte
|
6329cd471e
|
Add 'ruma-client-api/' from commit '632eb9d520028816c5fb7224bd0aca8d1e3793f1'
git-subtree-dir: ruma-client-api
git-subtree-mainline: e5233c49f610f866e3c9bf8529a0613171fc2fe4
git-subtree-split: 632eb9d520028816c5fb7224bd0aca8d1e3793f1
|
2020-06-05 17:11:09 +02:00 |
|