Jonas Platte
9bc6ce9201
Use identifier macros for tests
2020-08-05 00:12:44 +02:00
Devin Ragotzy
2fbdd674ab
Refactor impl_outgoing_with_incoming_self and add struct variant
2020-08-01 18:19:17 +02:00
Devin Ragotzy
f0fb9a69c0
Handle enums and nested types properly
2020-08-01 18:19:17 +02:00
Jonas Platte
10184cb9ca
Use a dedicated method for conversion from Ruma request type to http::Request
2020-08-01 01:01:15 +02:00
Devin Ragotzy
c86f0b106b
Re-add the Outgoing trait and derive macro
...
The Outgoing trait now has no attributes except incoming_no_deserialize,
it looks for any references and lifetimes in a struct declaration and
removes them. The point of the Outgoing trait is to allow references to
be serialized and owned values to come out of deserialization. It has no
ability to wrap values in Raw (then EventResult).
2020-07-31 12:59:19 -04:00
Jonas Platte
dbdbc148ea
Release ruma-api 0.17.0-alpha.1
2020-07-29 17:25:32 +02:00
Jonas Platte
fa8c7b020b
Release ruma-events 0.22.0-alpha.1
2020-07-29 17:09:29 +02:00
Jonas Platte
48777f2eed
Release ruma-serde 0.2.3
2020-07-29 16:48:02 +02:00
Devin Ragotzy
71e537d123
Move move-value test decl into logical mods for each
2020-07-29 08:50:08 -04:00
Devin Ragotzy
47b6adb524
Add tests for ruma_api! macro ensuring request/response generation ok
2020-07-28 18:55:02 -04:00
Devin Ragotzy
f00bad3895
Add try_build test testing new type body fields are declared last
2020-07-28 17:13:33 -04:00
Devin Ragotzy
b68b63ab8d
Remove runtime panic caused by header <-> string conversion
2020-07-28 17:13:33 -04:00
Jonas Platte
c363494905
Release ruma-identifiers 0.17.1
2020-07-26 15:04:20 +02:00
Jonas Platte
360628067b
Release ruma-common 0.2.0
2020-07-24 21:08:46 +02:00
Jonas Platte
080a537664
Release ruma-identifiers 0.17.0
2020-07-22 23:06:44 +02:00
Jonas Platte
4238c91e24
Update MSRV policy
2020-07-22 23:05:50 +02:00
skim
b260a13d4b
move and rename ruma_events::json::EventJson to ruma_common::raw::Raw
2020-07-16 07:31:36 -07:00
Jonas Platte
1a1884ce81
identifiers: Bump version (prerelease), update change log
2020-07-15 00:45:47 +02:00
Ragotzy.devin
4ff6c6ecbe
Refactor Request/Response's TryFrom impl by generating match stmt
...
... by moving repetitive parts into a macro_rules macro
2020-07-08 01:44:25 +02:00
Ragotzy.devin
214c1b681f
Add guard in ruma_api! macro for invalid characters in path
...
Returns a compiler error if any non ASCII characters are found. Add
trybuild test for invalid path characters.
2020-07-02 16:27:49 +02:00
Devin R
ff2cbc282b
Add trybuild tests for the ruma_api! macro
2020-07-01 21:27:47 +02:00
Ragotzy.devin
5376a3fc6e
Add colons to ruma_api! macro after each keyword
2020-06-30 13:06:37 +02:00
Jonas Platte
c621f220b9
Bump dependency versions
2020-06-19 22:53:07 +02:00
Jonas Platte
0a788c1273
Integrate ruma-events
2020-06-10 22:20:41 +02:00
Jonas Platte
29a6c94a4f
Remove all but the toplevel .gitignore
2020-06-07 18:53:53 +02:00
Jonas Platte
7a6264e0ff
Integrate ruma-identifiers
2020-06-07 17:26:33 +02:00
Jonas Platte
f6fb971329
Really stop depending on multiple versions of ruma-events (directly)
...
and also bump some other deps
2020-06-05 18:35:46 +02:00
Jonas Platte
e5233c49f6
Update crate metadata
2020-06-05 02:13:02 +02:00
Jonas Platte
f8b1aef906
Integrate ruma-api
2020-06-05 01:59:26 +02:00
Jonas Platte
51d7875b2f
Add 'ruma-api/' from commit '2151711f64e99a5da370d48fa92795f2d4799866'
...
git-subtree-dir: ruma-api
git-subtree-mainline: bb037a5c42c51567a3b9e41c2c131cef9867a4aa
git-subtree-split: 2151711f64e99a5da370d48fa92795f2d4799866
2020-06-05 01:56:19 +02:00