Jimmy Cuadra
|
fc46b9a58b
|
Silence warnings for conditionally used traits and variables.
|
2017-05-14 17:56:55 -07:00 |
|
Jimmy Cuadra
|
44164a7299
|
Derive serde traits for the main request/response structs.
|
2017-05-14 17:36:57 -07:00 |
|
Jimmy Cuadra
|
24370f3d4c
|
Change syntax for meta items and remove them after use.
|
2017-05-14 17:34:21 -07:00 |
|
Jimmy Cuadra
|
f624e1ff50
|
Yield only body fields from RequestBodyFields.
|
2017-05-14 16:41:25 -07:00 |
|
Jimmy Cuadra
|
3893ab0022
|
Add commas after struct fields.
|
2017-05-14 16:40:53 -07:00 |
|
Jimmy Cuadra
|
30fbb891fd
|
Use ruma-api-macros for the versions endpoint.
|
2017-05-14 04:19:34 -07:00 |
|
Jimmy Cuadra
|
10f4647037
|
Use a Git version of ruma-api.
|
2017-05-14 04:13:07 -07:00 |
|
Jimmy Cuadra
|
c55c71dd56
|
Use FutureFrom instead of TryFrom for responses.
|
2017-05-14 04:11:35 -07:00 |
|
Jimmy Cuadra
|
3635fe51ac
|
Use FutureFrom instead of TryFrom for responses.
|
2017-05-14 04:00:54 -07:00 |
|
Jimmy Cuadra
|
1a56b35f17
|
Propagate errors instead of panicking.
|
2017-05-14 03:12:47 -07:00 |
|
Jimmy Cuadra
|
517235b3e9
|
Add an error type.
|
2017-05-14 02:48:35 -07:00 |
|
Jimmy Cuadra
|
1d1ae0410e
|
Obfuscate imported traits and use the Endpoint trait to access metadata for hyper request construction.
|
2017-05-13 23:14:07 -07:00 |
|
Jimmy Cuadra
|
b6064d1e01
|
Use the real endpoint path for the hyper request.
|
2017-05-13 23:09:50 -07:00 |
|
Jimmy Cuadra
|
13c9daf21b
|
Deserialize response body.
|
2017-05-13 23:05:58 -07:00 |
|
Jimmy Cuadra
|
f48f1c1bee
|
Add request body to hyper requests.
|
2017-05-13 23:03:22 -07:00 |
|
Jimmy Cuadra
|
ef3ee2d2f3
|
Add RequestBody and ResponseBody structs.
|
2017-05-13 18:30:19 -07:00 |
|
Jimmy Cuadra
|
06388333af
|
Implement ToTokens for Api, Request, and Response.
|
2017-05-13 18:16:43 -07:00 |
|
Jimmy Cuadra
|
029daf3e12
|
Split code into more modules.
|
2017-05-13 17:52:17 -07:00 |
|
Jimmy Cuadra
|
b1d5d50e91
|
Categorize response fields.
|
2017-05-13 17:22:53 -07:00 |
|
Jimmy Cuadra
|
187a236708
|
Categorize request fields.
|
2017-05-13 17:20:19 -07:00 |
|
Jimmy Cuadra
|
a3c855835a
|
Add methods for generating request and response types.
|
2017-05-13 02:02:40 -07:00 |
|
Jimmy Cuadra
|
27349e57ab
|
Add initial implementation of macro expansion.
|
2017-05-13 01:56:26 -07:00 |
|
Jimmy Cuadra
|
b1be0f411f
|
Add docs and remove unused code/imports.
|
2017-05-13 01:41:33 -07:00 |
|
Jimmy Cuadra
|
55d6b72a77
|
Add struct fields to Request and Response.
|
2017-05-13 01:27:55 -07:00 |
|
Jimmy Cuadra
|
446ced1267
|
Disable doctests.
|
2017-05-13 01:17:33 -07:00 |
|
Jimmy Cuadra
|
d0a35341a2
|
Use three block form for the macro, fix some bugs, construct metadata tokens.
|
2017-05-13 01:16:44 -07:00 |
|
Jimmy Cuadra
|
bf7189048a
|
Use custom synom parsing.
|
2017-05-13 00:19:14 -07:00 |
|
Jimmy Cuadra
|
69522626ff
|
WIP
|
2017-05-12 17:35:31 -07:00 |
|
Jimmy Cuadra
|
d28912a148
|
WIP
|
2017-05-11 23:35:17 -07:00 |
|
Jimmy Cuadra
|
5a4661c408
|
Revise API to convert between associated types and Hyper request/response types.
|
2017-05-11 02:39:22 -07:00 |
|
Jimmy Cuadra
|
7d34d869c6
|
Merge pull request #3 from briansmith/update-ring
Update to *ring* 0.9.4.
|
2017-05-09 03:12:51 -07:00 |
|
Brian Smith
|
23e0121125
|
Update to *ring* 0.9.4.
'
|
2017-05-08 17:38:03 -10:00 |
|
bors[bot]
|
c5839b94e5
|
Merge #23
23: Update to serde 1.0.0 r=nox
|
2017-05-08 21:39:52 +00:00 |
|
Ted Driggs
|
abb8d81f9f
|
Update to serde 1.0.0
|
2017-05-08 17:18:53 +02:00 |
|
bors[bot]
|
43858d329e
|
Merge #22
22: Have a custom type for deserialising values (fixes #16) r=nox
|
2017-05-06 09:06:51 +00:00 |
|
Anthony Ramine
|
81aad8e8bd
|
Bump version to 0.4.3
|
2017-05-06 11:06:12 +02:00 |
|
Anthony Ramine
|
7ddde33a33
|
Have a custom type for deserialising values (fixes #16)
This lets us handle Option values correctly.
|
2017-05-06 10:59:42 +02:00 |
|
Anthony Ramine
|
f122a88561
|
Reformat de
|
2017-05-06 10:43:25 +02:00 |
|
Jimmy Cuadra
|
fbc1960ab9
|
Replace rustc-serialize with base64. Fixes #2.
|
2017-04-24 00:13:57 -07:00 |
|
Jimmy Cuadra
|
26f618cb2d
|
Bump version to 0.3.0.
|
2017-04-20 22:42:39 -07:00 |
|
Jimmy Cuadra
|
e63b0fbcd5
|
Update ring to 0.7 and serde to 1.0.
|
2017-04-20 22:41:59 -07:00 |
|
bors-ng[bot]
|
c0457909e4
|
Merge #13
13: Inline docs of reexports and bump version to 0.4.2
|
2017-02-05 13:47:23 +00:00 |
|
Anthony Ramine
|
a8def0d865
|
Inline docs of reexports and bump version to 0.4.2
|
2017-02-05 14:46:33 +01:00 |
|
bors-ng[bot]
|
9931bc5318
|
Merge #12
12: implement deserialization of std::io::Read
|
2017-02-05 13:36:49 +00:00 |
|
Arthur Skobara
|
8839c6a86c
|
Introduce de::from_reader
|
2017-02-05 14:34:14 +01:00 |
|
bors-ng[bot]
|
4ef7cc6e85
|
Merge #11
11: Update serde to 0.9.3 and use serde::ser::Impossible
|
2017-01-31 09:59:17 +00:00 |
|
Anthony Ramine
|
b24505bcfe
|
Bump to 0.4.1
|
2017-01-31 10:57:22 +01:00 |
|
Anthony Ramine
|
a2fb94e32d
|
Add a couple of categories
|
2017-01-31 10:57:10 +01:00 |
|
Anthony Ramine
|
bc8197c884
|
Update serde to 0.9.3 and use serde::ser::Impossible
|
2017-01-31 10:52:21 +01:00 |
|
bors-ng[bot]
|
2cc32847ac
|
Merge #10
10: Update to serde 0.9.0 and various improvements
|
2017-01-29 09:30:09 +00:00 |
|