13 Commits

Author SHA1 Message Date
Jonas Platte
0efac871bc
Remove the option to disable macro reexport 2020-04-24 21:33:15 +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
cbdbc0c38f
Remove url crate dependency 2020-04-17 19:17:26 +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
2bbcfda3fd
Don't use ruma_api_macros directly in ruma_api tests 2020-04-15 21:53:27 +02:00
Jonas Platte
9861aa20c8
Fix path segments being parsed as JSON 2020-02-17 22:12:18 +01:00
Jonas Platte
86aa04bc59
Implement #[ruma_api(raw_body)] 2020-01-06 23:27:31 +01:00
Jonas Platte
6f7eb126f6
Improve tests 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
f0bdc9a7fb
Add field with serde attribute to test
to catch issues with serde attribute stripping in tests
2019-11-21 11:01:08 +01:00
Wim de With
f0e724d391 Add query_map attribute to ruma_api 2019-11-20 14:31:38 +01:00
Jonas Platte
ed42aaef6a
Fix tests 2019-11-11 23:07:10 +01:00
Jimmy Cuadra
4f03c4dce2 Re-export ruma-api-macros from ruma-api. 2019-08-02 16:08:35 -07:00