| 
							
							
								 Jörg Sommer | 08c0d14221 | Add Error(Hyper)for errors originated from HyperDuring the parsing of the HTTP responses an error might come from
*Hyper*. To pass this error down to the caller, we need an entry in
`Error`. | 2018-08-31 12:31:46 +02:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | adf785ffc9 | Bump version to 0.2.2. | 2018-05-19 02:16:10 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | f744e0813d | Upgrade dependencies. | 2018-05-19 02:15:51 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 527562c760 | Bump version to 0.2.1. | 2018-05-19 02:08:44 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 1bedd5af4e | Request body must always be a Vec<u8>. | 2018-05-19 02:08:44 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | ff30a4381a | Use fields stripped of serde attributes. | 2018-05-19 02:08:44 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 621b73bd6f | Add missing commas after each query field. | 2018-05-19 02:08:44 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 1678ee2cea | Ignore attributes that aren't Meta::Lists. | 2018-05-19 02:08:44 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 4bc916556f | Merge pull request #6 from florianjacob/update_proc_macros2 update proc_macro2 to fix build with current nightly | 2018-05-19 00:09:49 -07:00 |  | 
			
				
					| 
							
							
								 Florian Jacob | dcd259c1ca | update proc_macro2 to fix build with current nightly | 2018-05-18 13:01:16 +02:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | f9c30c7052 | Merge pull request #2 from florianjacob/fix-statuscode-error Throw StatusCode error if http request was not successful | 2018-05-18 01:30:58 -07:00 |  | 
			
				
					| 
							
							
								 Florian Jacob | c59b43d027 | Throw StatusCode error if http response is non-success to prevent a misleading deserialization error on error responses. | 2018-05-18 09:08:33 +02:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 29f2d2fd7f | Bump version to 0.2.0. | 2018-05-16 01:48:15 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | ef32a2f9c1 | Convert between HeaderValue and the declared type. | 2018-05-16 01:43:17 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | e3cf7a38a1 | Remove code for building full bodies from streams. | 2018-05-16 01:21:59 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | a27adc2f73 | Use Vec<u8> for request and response bodies. Use http's API for creating requests and responses. | 2018-05-16 01:11:37 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | c9454caff1 | Update request/response header logic for new style. | 2018-05-16 00:40:51 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | f0f4f9bd17 | Detect header attributes as name/value pairs. | 2018-05-15 22:57:06 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | a035c233be | Remove remaining references to hyper and use new header style in docs. | 2018-05-15 01:49:42 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 7b1e22eea4 | Rewrite Api's ToTokens impl to avoid calls to append_all with string literals. | 2018-05-15 01:32:38 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 5bc253b324 | Rewrite request and response ToTokens to avoid calls to append_all with string literals. | 2018-05-15 01:32:38 -07:00 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 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 | 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 |  | 
			
				
					| 
							
							
								 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 | 0f32ca01db | Add complete documentation. | 2017-07-01 17:22:40 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | b292a3e776 | Improve test coverage, fix a misplaced comma bug, implement missing newtype body support for responses. | 2017-07-01 16:24:44 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 84562c4260 | Strip serde attributes on aggregate Request and Response types. | 2017-07-01 15:26:03 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | dce17dbb64 | Add support for header fields in responses. | 2017-07-01 11:29:23 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | c0c4b0949a | Add missing dev dependency for url. | 2017-06-30 18:33:43 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 4893be93f8 | Impl conversion from serde_urlencoded errors. | 2017-06-30 18:14:24 -07:00 |  | 
			
				
					| 
							
							
								 Jimmy Cuadra | 6d82e06600 | Derive Serialize for RequestPath so the serde attributes get stripped. | 2017-06-30 18:09:34 -07:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 62971e63cd | Implement substitution of variables in endpoint paths | 2017-07-01 01:53:19 +10:00 |  |