Commit Graph

  • fb90929aa1 Merge pull request #19 from neosam/macros Jimmy Cuadra 2017-06-19 17:59:24 -07:00
  • 6f9cb39506 Make aliases optional for global rooms query. Simon Goller 2017-06-18 18:12:35 +02:00
  • 5d5e70cf3e Merge pull request #18 from jplatte/macros Jimmy Cuadra 2017-06-14 03:16:04 -07:00
  • f9309e652a Bump dependency versions Jonas Platte 2017-06-14 11:57:06 +02:00
  • f5a935384e Merge pull request #1 from jplatte/patch-2 Jimmy Cuadra 2017-06-14 02:53:23 -07:00
  • fb2082237b Bump dependency versions Jonas Platte 2017-06-14 10:21:15 +02:00
  • 211cf5e353 Merge pull request #11 from jplatte/hyper-0.11 Jimmy Cuadra 2017-06-14 01:16:00 -07:00
  • dd62620a4b Bump dependency versions Jonas Platte 2017-06-14 09:49:16 +02:00
  • 4ef45b3022 Bump ruma-events and ruma-signatures. Jimmy Cuadra 2017-06-01 17:55:24 -07:00
  • c3fd65c650 Bump version to 0.9.0. Jimmy Cuadra 2017-06-01 17:46:05 -07:00
  • 42439ea608 Merge pull request #13 from neosam/master Jimmy Cuadra 2017-06-01 09:25:30 -07:00
  • 03dc54d7db Use ruma-signatures 0.4 instead of 0.3. Simon Goller 2017-06-01 18:08:22 +02:00
  • 392dc69b17 Use ruma-api-macros for the filter endpoints. Jimmy Cuadra 2017-05-21 02:19:54 -07:00
  • 35362e78a6 Add newtype body field support for responses. Jimmy Cuadra 2017-05-21 01:52:16 -07:00
  • bdb7468bcb Merge #25 bors[bot] 2017-05-21 07:34:36 +00:00
  • ecb91cfcd7 Deserialize () from input without key/value pairs. Without Boats 2017-05-20 22:30:50 -07:00
  • dfb45a762f Use ruma-api-macros for the directory endpoints. Jimmy Cuadra 2017-05-19 21:25:18 -07:00
  • 4b728514ca Use ruma-api-macros for the context endpoints. Jimmy Cuadra 2017-05-19 21:09:58 -07:00
  • a40ec4e07f Use ruma-api-macros for the contact endpoints. Jimmy Cuadra 2017-05-19 21:01:25 -07:00
  • 088aed514e Use ruma-api-macros for the config endpoints. Jimmy Cuadra 2017-05-19 06:02:28 -07:00
  • 58fab938b0 Add newtype body fields to the hyper request. Jimmy Cuadra 2017-05-19 05:58:04 -07:00
  • 90c3654254 Allow a single field to be specified as the entire request body. Jimmy Cuadra 2017-05-19 05:45:23 -07:00
  • 11985ed337 Use ruma-api-macros for the alias endpoints. Jimmy Cuadra 2017-05-19 04:51:31 -07:00
  • 422043cf51 Use ruma-api-macros for the account endpoints. Jimmy Cuadra 2017-05-14 17:58:15 -07:00
  • fc46b9a58b Silence warnings for conditionally used traits and variables. Jimmy Cuadra 2017-05-14 17:56:55 -07:00
  • 44164a7299 Derive serde traits for the main request/response structs. Jimmy Cuadra 2017-05-14 17:36:57 -07:00
  • 24370f3d4c Change syntax for meta items and remove them after use. Jimmy Cuadra 2017-05-14 17:34:21 -07:00
  • f624e1ff50 Yield only body fields from RequestBodyFields. Jimmy Cuadra 2017-05-14 16:41:25 -07:00
  • 3893ab0022 Add commas after struct fields. Jimmy Cuadra 2017-05-14 16:17:35 -07:00
  • 30fbb891fd Use ruma-api-macros for the versions endpoint. Jimmy Cuadra 2017-05-14 04:19:34 -07:00
  • 10f4647037 Use a Git version of ruma-api. Jimmy Cuadra 2017-05-14 04:13:07 -07:00
  • c55c71dd56 Use FutureFrom instead of TryFrom for responses. Jimmy Cuadra 2017-05-14 04:11:35 -07:00
  • 3635fe51ac Use FutureFrom instead of TryFrom for responses. Jimmy Cuadra 2017-05-14 04:00:54 -07:00
  • 1a56b35f17 Propagate errors instead of panicking. Jimmy Cuadra 2017-05-14 03:12:47 -07:00
  • 517235b3e9 Add an error type. Jimmy Cuadra 2017-05-14 02:39:09 -07:00
  • 1d1ae0410e Obfuscate imported traits and use the Endpoint trait to access metadata for hyper request construction. Jimmy Cuadra 2017-05-13 23:14:07 -07:00
  • b6064d1e01 Use the real endpoint path for the hyper request. Jimmy Cuadra 2017-05-13 23:09:50 -07:00
  • 13c9daf21b Deserialize response body. Jimmy Cuadra 2017-05-13 23:03:56 -07:00
  • f48f1c1bee Add request body to hyper requests. Jimmy Cuadra 2017-05-13 22:01:09 -07:00
  • ef3ee2d2f3 Add RequestBody and ResponseBody structs. Jimmy Cuadra 2017-05-13 18:30:19 -07:00
  • 06388333af Implement ToTokens for Api, Request, and Response. Jimmy Cuadra 2017-05-13 18:16:43 -07:00
  • 029daf3e12 Split code into more modules. Jimmy Cuadra 2017-05-13 17:52:17 -07:00
  • b1d5d50e91 Categorize response fields. Jimmy Cuadra 2017-05-13 17:22:53 -07:00
  • 187a236708 Categorize request fields. Jimmy Cuadra 2017-05-13 17:20:19 -07:00
  • a3c855835a Add methods for generating request and response types. Jimmy Cuadra 2017-05-13 02:02:40 -07:00
  • 27349e57ab Add initial implementation of macro expansion. Jimmy Cuadra 2017-05-13 01:55:32 -07:00
  • b1be0f411f Add docs and remove unused code/imports. Jimmy Cuadra 2017-05-13 01:41:33 -07:00
  • 55d6b72a77 Add struct fields to Request and Response. Jimmy Cuadra 2017-05-13 01:27:55 -07:00
  • 446ced1267 Disable doctests. Jimmy Cuadra 2017-05-13 01:17:33 -07:00
  • d0a35341a2 Use three block form for the macro, fix some bugs, construct metadata tokens. Jimmy Cuadra 2017-05-13 01:16:44 -07:00
  • bf7189048a Use custom synom parsing. Jimmy Cuadra 2017-05-13 00:19:14 -07:00
  • 69522626ff WIP Jimmy Cuadra 2017-05-12 17:35:31 -07:00
  • b6f0d8d8b4 Use less verbose syntax for associated types. Jimmy Cuadra 2017-05-12 00:27:07 -07:00
  • fafe30fdec Revise implementation of Client::request to use the latest ruma-api/ruma-client-api. Jimmy Cuadra 2017-05-11 23:36:34 -07:00
  • d28912a148 WIP Jimmy Cuadra 2017-05-11 23:34:32 -07:00
  • 5a4661c408 Revise API to convert between associated types and Hyper request/response types. Jimmy Cuadra 2017-05-11 02:39:22 -07:00
  • 7d34d869c6 Merge pull request #3 from briansmith/update-ring Jimmy Cuadra 2017-05-09 03:12:51 -07:00
  • 23e0121125 Update to *ring* 0.9.4. ' Brian Smith 2017-05-08 17:38:03 -10:00
  • c5839b94e5 Merge #23 bors[bot] 2017-05-08 21:39:52 +00:00
  • abb8d81f9f Update to serde 1.0.0 Ted Driggs 2017-04-20 15:49:30 -07:00
  • 43858d329e Merge #22 bors[bot] 2017-05-06 09:06:51 +00:00
  • 81aad8e8bd Bump version to 0.4.3 Anthony Ramine 2017-05-06 11:06:12 +02:00
  • 7ddde33a33 Have a custom type for deserialising values (fixes #16) Anthony Ramine 2017-05-06 10:59:42 +02:00
  • f122a88561 Reformat de Anthony Ramine 2017-05-06 10:43:25 +02:00
  • 0c027fea5e Add default values for various power level attributes. Andreas Brönnimann 2017-04-25 22:08:15 +02:00
  • fbc1960ab9 Replace rustc-serialize with base64. Fixes #2. Jimmy Cuadra 2017-04-24 00:13:57 -07:00
  • c928c9bafc Remove de/serialize bounds from StrippedStateContent. Jimmy Cuadra 2017-04-23 02:43:29 -07:00
  • edefffe220 Replace try macro with question mark. Jimmy Cuadra 2017-04-21 04:05:30 -07:00
  • 4cab10b2d5 Bump version to 0.8.0. Jimmy Cuadra 2017-04-21 03:54:02 -07:00
  • dee5cc91bc Update serde to 1.0. Jimmy Cuadra 2017-04-21 03:53:11 -07:00
  • 26f618cb2d Bump version to 0.3.0. Jimmy Cuadra 2017-04-20 22:42:39 -07:00
  • e63b0fbcd5 Update ring to 0.7 and serde to 1.0. Jimmy Cuadra 2017-04-20 22:41:59 -07:00
  • 2de6d5dc0a Bump version to 0.11.0. Jimmy Cuadra 2017-04-20 21:58:18 -07:00
  • 418c91d5ff Update serde and serde_json to 1.0. Jimmy Cuadra 2017-04-20 21:57:36 -07:00
  • c80d41e076 Update ruma-identifiers to 0.10 and bump version to 0.7.0. Jimmy Cuadra 2017-03-24 01:45:21 -07:00
  • a38c7e048c Bump version to 0.10.0. Jimmy Cuadra 2017-03-24 01:32:00 -07:00
  • 9181220917 Update TryFrom::Err to TryFrom::Error. Jimmy Cuadra 2017-03-24 01:31:33 -07:00
  • 70e6b60407 Update Diesel to 0.12. Jimmy Cuadra 2017-03-24 01:31:10 -07:00
  • 2834dd4632 Make the federate field optional Andreas Brönnimann 2017-02-26 22:16:03 +01:00
  • 3ee120973d Update ruma-identifiers to 0.9 and bump version to 0.6.0. Jimmy Cuadra 2017-02-16 19:46:20 -08:00
  • 1ae596d251 Update diesel to 0.11 and bump version to 0.9.0. Jimmy Cuadra 2017-02-16 19:38:56 -08:00
  • bd6dd985d7 Bump version to 0.8.1. Jimmy Cuadra 2017-02-08 22:25:46 -08:00
  • dcfc581d44 Give docs their own section in the README. Jimmy Cuadra 2017-02-08 22:26:37 -08:00
  • e4c3cae7fd Add missing Diesel implementations. Jimmy Cuadra 2017-02-08 22:25:01 -08:00
  • c0457909e4 Merge #13 bors-ng[bot] 2017-02-05 13:47:23 +00:00
  • a8def0d865 Inline docs of reexports and bump version to 0.4.2 Anthony Ramine 2017-02-05 14:45:48 +01:00
  • 9931bc5318 Merge #12 bors-ng[bot] 2017-02-05 13:36:49 +00:00
  • 8839c6a86c Introduce de::from_reader Arthur Skobara 2017-02-05 10:37:15 +07:00
  • 751ffc707c Bump version to 0.5.0. Jimmy Cuadra 2017-02-03 03:22:02 -08:00
  • 4f88b596a7 Update ruma-identifiers to 0.8. Jimmy Cuadra 2017-02-03 03:20:52 -08:00
  • 29f76ca95d Bump version to 0.8.0. Jimmy Cuadra 2017-02-03 03:12:06 -08:00
  • c6b959c7a1 Update to Diesel 0.10. Jimmy Cuadra 2017-02-03 03:11:35 -08:00
  • 4ef7cc6e85 Merge #11 bors-ng[bot] 2017-01-31 09:59:17 +00:00
  • b24505bcfe Bump to 0.4.1 Anthony Ramine 2017-01-31 10:57:22 +01:00
  • a2fb94e32d Add a couple of categories Anthony Ramine 2017-01-31 10:57:10 +01:00
  • bc8197c884 Update serde to 0.9.3 and use serde::ser::Impossible Anthony Ramine 2017-01-31 10:42:51 +01:00
  • 2cc32847ac Merge #10 bors-ng[bot] 2017-01-29 09:30:09 +00:00
  • 3e9ebe4fd7 Bump version to 0.4.0 Anthony Ramine 2017-01-28 17:12:19 +01:00
  • fba478f827 Add bors configuration Anthony Ramine 2017-01-29 10:07:28 +01:00
  • f5b1ae8828 Do not forbid bool keys anymore Anthony Ramine 2017-01-29 00:17:54 +01:00