Jonas Platte
5a79b766c7
Revert "Remove special handling of custom events"
...
This reverts commit 539dd5f31dff172b5d6559378e33982d0a0c3333.
2020-03-24 11:31:36 +01:00
Ragotzy.devin
539dd5f31d
Remove special handling of custom events
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2020-03-24 11:27:55 +01:00
Jonas Platte
0c6dd0ba32
Simplify proc_macro tests
...
… by moving them from ruma-events-macros to ruma-events and updating the
macros to work in different contexts (without items like FromRaw being
available at the calling crate's root)
2020-03-17 13:10:40 +01:00
Jonas Platte
016659a99c
Split impl FromRaw
generation into its own macro
2020-03-16 23:27:32 +01:00
Jonas Platte
ddbb06f21d
Clean up code gen a bit
2020-03-16 21:22:56 +01:00
Jonas Platte
8a9bbb8c83
Don't deny(warnings)
2020-03-16 21:13:44 +01:00
Donough Liu
e60e502183
More tests for ruma-events-macros
2020-03-11 21:47:56 +08:00
stoically
3128351031
Rename event_type when deserializing custom events
2020-01-01 20:20:13 +01:00
Jonas Platte
1a3f6ed0b6
Derive Serialize, Deserialize impls for some enums
2019-12-15 20:26:06 +01:00
Jonas Platte
98f85df276
Remove unnecessary explicit lifetimes
2019-12-15 20:23:57 +01:00
Jonas Platte
370c56ef31
Use quote::format_ident!
2019-12-13 20:42:20 +01:00
Jonas Platte
a57e867279
Fixup for previous commit
2019-11-24 20:52:53 +01:00
Jonas Platte
b9f5fd796e
Bump MSRV to 1.36.0
2019-11-24 15:43:13 +01:00
Jonas Platte
d5d0393792
Add CHANGELOG.md's
2019-11-01 19:34:42 +01:00
Jonas Platte
64a05a3c04
Bump versions
2019-10-24 22:56:06 +02:00
Jonas Platte
a118ee3e9e
Update ruma-events-macros' dependencies
2019-10-24 22:55:33 +02:00
Jonas Platte
1af436b775
Simplify InvalidEvent, update its documentation
2019-10-24 22:26:20 +02:00
Jonas Platte
cb4bddf60a
Disable clippy lint use_self for ruma-events-macros
2019-10-23 03:05:02 +02:00
Jonas Platte
60c817e1b0
Restore Rust 1.34.2 compatibility
2019-10-23 02:09:34 +02:00
Jonas Platte
c925cd13f1
Update documentation
2019-10-23 01:42:06 +02:00
Jonas Platte
9536099f38
Replace custom Void type, change TryFromRaw::Err bound
2019-10-19 02:13:21 +02:00
Jonas Platte
7f771bc788
Fix failing tests
2019-10-18 00:46:35 +02:00
Jonas Platte
09b8de5b6e
Introduce FromRaw in addition to TryFromRaw
2019-10-15 20:26:30 +02:00
Jonas Platte
a6c34596d7
Rename EventResultCompatible to TryFromRaw
2019-10-15 20:05:46 +02:00
Jonas Platte
c20d79db7d
Inline try_from method into EventResultCompatible
2019-10-08 21:28:18 +02:00
Jonas Platte
05562a48a3
WIP
2019-09-29 13:30:51 +02:00
Jonas Platte
fbd8b2be54
Apply clippy suggestion
2019-09-27 23:58:05 +02:00
Jonas Platte
fb0f8a4d91
Integrate ruma-events-macros into the repository
2019-09-13 22:32:17 +02:00
Jonas Platte
883a9566d2
Add 'ruma-events-macros/' from commit '659dc963949cdb3d928d9f5d3ed9a49e1e2b6158'
...
git-subtree-dir: ruma-events-macros
git-subtree-mainline: 91d564dcf812196f7497fe93ea5591eab8d83d1d
git-subtree-split: 659dc963949cdb3d928d9f5d3ed9a49e1e2b6158
2019-09-13 22:17:22 +02:00