103 Commits

Author SHA1 Message Date
Jonas Platte
d560ed76ca
Bump versions 2020-05-04 18:16:53 +02:00
Jonas Platte
4211eb4497
Annotate .unwrap()s 2020-05-04 18:14:55 +02:00
Jonas Platte
fb265db5eb
Update dependencies 2020-05-04 18:14:50 +02:00
Akshay
3428e9dd92
Migrate to ruma-serde from serde_urlencoded 2020-05-04 17:46:24 +02:00
Jonas Platte
85cef85b60
Update ruma-events, bump versions 2020-04-22 21:39:05 +02:00
Jonas Platte
df7914de1a
Remove Outgoing trait
we won't need it anymore once `EventResult` is replaced with `EventJson`
2020-04-22 12:54:47 +02:00
Jonas Platte
620ca0ebcf
Don't require trait implementations in macro code 2020-04-22 12:08:02 +02:00
Jonas Platte
3fb21b3330
Update ruma-identifiers, bump versions 2020-04-20 15:57:04 +02:00
Jonas Platte
28d836ec50
Update change log, bump versions 2020-04-17 19:22:06 +02:00
Jonas Platte
cbdbc0c38f
Remove url crate dependency 2020-04-17 19:17:26 +02:00
Jonas Platte
dc77869de0
Bump versions, update change logs 2020-04-16 17:03:07 +02:00
Jonas Platte
ce1adb2827
Update dependencies 2020-04-16 16:59:48 +02:00
Jonas Platte
4c67b1a71d
Update ruma-api-macros/README.md 2020-04-16 15:09:46 +02:00
Jonas Platte
0238a72b59
Serialize an empty JSON object as body for responses without body fields 2020-04-15 22:04:27 +02:00
Jonas Platte
b389501465
Bump versions 2020-03-29 13:55:54 +02:00
Jonas Platte
58b142f345
Update change logs 2020-03-29 13:55:16 +02:00
Jonas Platte
9be124f826
Bump versions 2020-03-20 11:51:45 +01:00
Jonas Platte
220d733cc1
Bump dependencies 2020-03-20 11:50:13 +01:00
Ragotzy.devin
6a0ab987b5
Enable deserialization of unsuccessful responses
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2020-03-17 01:07:12 +01:00
Donough Liu
c346b4f681
Emit error on non-UTF8 characters in path segments 2020-03-07 17:06:24 +01:00
Jonas Platte
557be94f3a
Bump versions 2020-02-18 21:17:18 +01:00
Jonas Platte
8e7325cdcc
Simplify request path deserialization by removing RequestPath struct 2020-02-18 21:05:21 +01:00
Jonas Platte
9e076858af
Update change logs 2020-02-18 21:02:33 +01:00
Jonas Platte
810bf56874
Add strum::ParseError variant to DeserializationError 2020-02-18 20:58:29 +01:00
Jonas Platte
9861aa20c8
Fix path segments being parsed as JSON 2020-02-17 22:12:18 +01:00
Jonas Platte
a811a709ec
Implement Debug for Incoming types 2020-02-10 10:54:56 +01:00
Jonas Platte
8be1a4d168
Bump versions 2020-02-08 22:02:27 +01:00
Jonas Platte
89f8d0f656
Further split the error types 2020-02-08 21:44:02 +01:00
Jonas Platte
abb278c85a
Simplify path segment deserialization code 2020-02-08 20:48:50 +01:00
Jonas Platte
df0e076549
Update dependencies 2020-02-07 01:04:31 +01:00
Jonas Platte
5a8da77ac1
Add myself to the Cargo.toml authors arrays 2020-02-07 01:04:31 +01:00
Jonas Platte
542bef8c4a
Split the Error type in two 2020-02-07 01:04:23 +01:00
Jonas Platte
3b294baf07
Update change logs, bump versions 2020-01-13 20:04:15 +01:00
Jonas Platte
86aa04bc59
Implement #[ruma_api(raw_body)] 2020-01-06 23:27:31 +01:00
Jonas Platte
b6394a32b7
ruma_client_api: Simplify Response::init_fields 2020-01-06 12:20:48 +01:00
Jonas Platte
af7333203a
Use quote::format_ident! 2019-12-13 20:30:12 +01:00
Jonas Platte
9063f4c526
Update change logs 2019-12-13 12:08:35 +01:00
Jonas Platte
08a3d820be
Release ruma-api-macros 0.9.0, ruma-api 0.12.0 2019-12-12 20:48:40 +01:00
Jonas Platte
d68c59974d
Bump MSRV 2019-12-03 22:11:17 +01:00
Jonas Platte
f7c6bd7d4e
Update deps, make alpha releases 2019-11-28 21:58:45 +01:00
Jonas Platte
81207890b6
Simplify ruma-api-macros codegen 2019-11-28 21:52:48 +01:00
Jonas Platte
3696516679
Fix support for tuple structs in Outgoing derive 2019-11-28 21:43:50 +01:00
Jonas Platte
9fa1305e65
Incorporate feedback by lu-fennell, Nauxuron 2019-11-27 19:28:54 +01:00
Jonas Platte
7d340942a0
Error when derive(Outgoing) is used on a type with generics 2019-11-27 19:28:54 +01:00
Jonas Platte
d94e15e38c
Rename SendRecv to Outgoing 2019-11-27 19:28:54 +01:00
Jonas Platte
4c1d6b4b58
Add documentation for SendRecv 2019-11-27 19:28:54 +01:00
Jonas Platte
f558b55692
Add SendRecv trait + derive macro to allow receiving requests, sending responses 2019-11-27 19:28:54 +01:00
Jonas Platte
e383ae98ea
Revert "Remove server-side functionality"
This reverts commit 958a0a01c47c051eebf493234c314bc101609f63.
2019-11-27 19:28:54 +01:00
Jonas Platte
14fa10af6b
Update ruma-api-macros/README.md 2019-11-26 00:08:39 +01:00
Jonas Platte
02a9a6494d
Update ruma-api-macro's crate docs 2019-11-26 00:05:36 +01:00