Jimmy Cuadra
|
f6b6c94675
|
Preserve span information for fields.
|
2018-05-13 00:23:57 -07:00 |
|
Jimmy Cuadra
|
c86cdb29b3
|
Fix another bug and use a more useful variable name for named path segments.
|
2018-05-13 00:09:39 -07:00 |
|
Jimmy Cuadra
|
38746660b6
|
Use a custom parser for the raw input.
|
2018-05-12 23:56:23 -07:00 |
|
Jimmy Cuadra
|
8f6bc5af77
|
Fix remaining compiler errors.
|
2018-05-11 08:50:39 -07:00 |
|
Jimmy Cuadra
|
09e377d68e
|
Extract relevant types out of the metadata's fields.
|
2018-05-04 20:13:34 -07:00 |
|
Jimmy Cuadra
|
dfaf1c7da1
|
Rearrange some code.
|
2018-05-04 19:39:48 -07:00 |
|
Jimmy Cuadra
|
5e9a3be5d4
|
Simplify code with ToTokens::into_tokens.
|
2018-05-04 19:31:42 -07:00 |
|
Jimmy Cuadra
|
2a84e038c4
|
Remove parse module.
|
2018-05-04 18:53:03 -07:00 |
|
Jimmy Cuadra
|
4c46df9a59
|
Update strip_serde_attrs, uncomment code.
|
2018-05-04 18:50:22 -07:00 |
|
Jimmy Cuadra
|
ab106f75ac
|
ExprStruct --> Response
|
2018-05-04 18:46:48 -07:00 |
|
Jimmy Cuadra
|
a1929e38cf
|
ExprStruct --> Request
|
2018-05-04 17:32:12 -07:00 |
|
Jimmy Cuadra
|
ba6eef9c76
|
Switch TryFrom back to From since proc macros must panic on errors.
|
2018-05-04 17:07:35 -07:00 |
|
Jimmy Cuadra
|
4db09dac8d
|
ExprStruct --> Metadata
|
2018-05-04 03:52:55 -07:00 |
|
Jimmy Cuadra
|
17b11d1a25
|
WIP
|
2018-05-04 03:33:08 -07:00 |
|
Alex Gaynor
|
b4804ad95a
|
Bump itoa dep to 0.4.0
|
2018-03-19 09:53:30 -04:00 |
|
Nathan Musoke
|
acac994a18
|
r0.3.0/login: Add device_id to request & response
Version 0.3.0 of the client-server spec adds a `device_id` field to the
login request and response. It is optional in the request.
See https://matrix.org/docs/spec/client_server/r0.3.0.html#post-matrix-client-r0-login for details.
I don't think this will be backwards compatible with ruma-client.
|
2018-01-25 17:50:09 +13:00 |
|
Jimmy Cuadra
|
b0199a0489
|
Merge pull request #23 from musoke/master
associated_consts stabilized
|
2017-10-17 06:42:06 -07:00 |
|
Nathan Musoke
|
60d0428730
|
associated_consts stabilized
Since rust 1.20
|
2017-10-17 23:52:05 +13:00 |
|
Jimmy Cuadra
|
72e6dc7ad7
|
Merge pull request #22 from tilpner/master
Pass sync endpoint parameters according to spec
|
2017-09-29 00:16:54 -07:00 |
|
tilpner
|
478106fd42
|
Serialize sync_events::Filter untagged
This is to make Filter::FilterId(String::from("0")) serialize
as "0", instead of to a JSON object that cannot be passed
as a query paramater
|
2017-09-28 20:34:43 +02:00 |
|
tilpner
|
15bd7d2641
|
Pass sync request as query parameters instead of data
Before, it would silently ignore them for defaults,
so long-polling was not possible because no timeout
was passed
|
2017-09-28 20:34:29 +02:00 |
|
Jimmy Cuadra
|
8970e3d83d
|
Bump version to 0.5.0.
|
2017-09-08 17:33:18 -07:00 |
|
Jimmy Cuadra
|
474644ff66
|
Add a nonexhaustive variant to Error.
|
2017-09-08 17:32:42 -07:00 |
|
Jimmy Cuadra
|
9ff74ba776
|
Use the crates.io release of http.
|
2017-09-08 17:29:19 -07:00 |
|
Jimmy Cuadra
|
7d919bcee5
|
Merge pull request #21 from jplatte/master
Fix two types in the sync response "tree"
|
2017-08-04 03:56:00 -07:00 |
|
Jonas Platte
|
fcd2a50f4f
|
UnreadNotificationsCount: Make fields optional
|
2017-08-03 22:42:08 +02:00 |
|
Jimmy Cuadra
|
6ef1776aed
|
rustfmt
|
2017-08-01 18:17:09 -07:00 |
|
Jimmy Cuadra
|
35c2e6edd8
|
Swap hyper for the http crate.
|
2017-08-01 18:05:44 -07:00 |
|
Jonas Platte
|
46fa6d21a2
|
Fix timeline.events type in sync_events response
|
2017-07-17 18:57:22 +02:00 |
|
Jimmy Cuadra
|
3cbbf10587
|
Use ruma-api 0.4.0 and ruma-api-macros 0.1.0.
|
2017-07-07 01:31:15 -07:00 |
|
Jimmy Cuadra
|
d3265f3251
|
Use ruma-api 0.4.0 and add missing crate metadata.
|
2017-07-07 01:26:51 -07:00 |
|
Jimmy Cuadra
|
37a5991fda
|
Bump version to 0.4.0.
|
2017-07-07 01:19:03 -07:00 |
|
Jimmy Cuadra
|
863fe814ef
|
Use ruma-api-macros for the voip endpoints.
|
2017-07-07 01:08:03 -07:00 |
|
Jimmy Cuadra
|
0d9d1f8119
|
Use ruma-api-macros for the typing endpoints.
|
2017-07-07 01:02:03 -07:00 |
|
Jimmy Cuadra
|
995fa6e1ae
|
Use ruma-api-macros for the tag endpoints.
|
2017-07-06 23:26:52 -07:00 |
|
Jimmy Cuadra
|
f94cb9d62a
|
Use ruma-api-macros for the server endpoints.
|
2017-07-06 22:59:42 -07:00 |
|
Jimmy Cuadra
|
e71760bb65
|
Use ruma-api-macros for the search endpoints.
|
2017-07-06 22:50:56 -07:00 |
|
Jimmy Cuadra
|
fc29d7bf40
|
Use ruma-api-macros for the redact endpoints.
|
2017-07-06 01:11:11 -07:00 |
|
Jimmy Cuadra
|
651fe9b3e3
|
Use ruma-api-macros for the receipt endpoints.
|
2017-07-06 00:57:29 -07:00 |
|
Jimmy Cuadra
|
beacb5f268
|
Use ruma-api-macros for the profile endpoints.
|
2017-07-05 22:45:33 -07:00 |
|
Jimmy Cuadra
|
a5427a5daf
|
Use UserId instead of String for the login endpoint.
|
2017-07-05 20:37:57 -07:00 |
|
Jimmy Cuadra
|
6aceca259e
|
Add missing docs, fix a bunch of bugs and inconsistencies.
|
2017-07-04 22:47:14 -07:00 |
|
Jimmy Cuadra
|
c447a612d3
|
Use ruma-api-macros for the presence endpoints.
|
2017-07-04 16:39:30 -07:00 |
|
Jimmy Cuadra
|
ebb05dc076
|
Merge pull request #20 from jplatte/more-modules
Use ruma-api-macros for more endpoints
|
2017-07-04 12:09:55 -07:00 |
|
Jonas Platte
|
351a6dbd0c
|
Add event body to send requests
|
2017-07-04 22:02:47 +10:00 |
|
Jonas Platte
|
5c43a32b00
|
Use ruma-api-macros for the create_room endpoint
|
2017-07-04 22:02:47 +10:00 |
|
Jonas Platte
|
0a997d28a4
|
Remove unused serde attributes
|
2017-07-04 22:02:47 +10:00 |
|
Ross Schulman
|
a1a9064d28
|
Squash a bunch of bugs
|
2017-07-04 22:02:47 +10:00 |
|
Ross Schulman
|
3a854bf64a
|
Update lib.rs with newly available calls
|
2017-07-04 22:02:47 +10:00 |
|
Ross Schulman
|
a097aa02f2
|
Port session.rs to ruma_api_macro
|
2017-07-04 22:02:47 +10:00 |
|