Kévin Commaille
|
1d8ea75f6f
|
events: Remove EventContent::from_parts
|
2023-01-10 11:37:31 +01:00 |
|
Kévin Commaille
|
dc591647f8
|
events: Remove StateUnsignedFromParts
Replace it with a bound on DeserializeOwned
|
2023-01-10 11:37:31 +01:00 |
|
Jonas Platte
|
ad3c27d927
|
events: Make redacted_because non-optional in RedactedUnsigned
|
2022-12-15 12:47:27 +01:00 |
|
Jonas Platte
|
cdabe8e52d
|
events: Remove Serialize impls for all event types except ToDeviceEvent
|
2022-12-15 10:41:30 +01:00 |
|
Jonas Platte
|
675e6f43cd
|
events: Remove the Redact trait
It has not proven to be useful, being used by no downstream project.
|
2022-12-14 12:49:15 +01:00 |
|
Jonas Platte
|
94990f60f2
|
events: Don't skip serializing empty content of redacted events
|
2022-11-09 17:11:50 +01:00 |
|
Jonas Platte
|
35d8bdd5a1
|
events: Move StateUnsigned::_from_parts into a trait
|
2022-09-12 12:03:29 +02:00 |
|
Jonas Platte
|
674137c41d
|
events: Use CanBeEmpty trait for skipping unsigned serialization
|
2022-09-12 11:44:05 +02:00 |
|
Jonas Platte
|
7957dd6adf
|
events: Replace generic "alias" trait implementations by individual ones
… so that rustdoc lists types implementing them properly.
|
2022-09-05 11:16:30 +02:00 |
|
Jonas Platte
|
d8b7886382
|
events: Allow state key type to be customized by content type
|
2022-04-21 11:16:38 +02:00 |
|
Jonas Platte
|
da222a87c9
|
macros: Remove trait import
|
2022-04-21 11:16:38 +02:00 |
|
Jonas Platte
|
d855ec33d6
|
identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
|
2022-04-20 10:39:36 +02:00 |
|
Jonas Platte
|
7de3b4b649
|
events: Rework the event enum hierarchy
|
2022-04-05 14:29:17 +02:00 |
|
Jonas Platte
|
d87874314b
|
events: Add 'Original' prefix to unredacted types with a redacted form
|
2022-04-05 14:29:17 +02:00 |
|
Jonas Platte
|
1415e32a1d
|
macros: Remove some unnecessary short-circuiting in event proc-macros
|
2022-04-02 20:31:37 +02:00 |
|
Jonas Platte
|
634f93c985
|
macros: Improve error handling
|
2022-04-02 20:31:37 +02:00 |
|
Jonas Platte
|
a4aa7e0912
|
macros: Fix missing type qualification in Event derive macro
|
2022-03-31 18:42:27 +02:00 |
|
Jonas Platte
|
7fbb28f223
|
macros: Finish support for variable event types
|
2022-03-23 21:17:18 +01:00 |
|
Jonas Platte
|
ada3108a96
|
common: Move prev_content into unsigned
|
2022-03-16 16:30:29 +01:00 |
|
Jonas Platte
|
6dc0bf248b
|
Use *EventType enums in more places
|
2022-03-16 12:20:17 +01:00 |
|
Jonas Platte
|
c16ba45c9e
|
common: Replace event content marker traits with an associated type
|
2022-03-16 12:20:16 +01:00 |
|
Kévin Commaille
|
088d1872b7
|
common: Merge ruma-identifiers into ruma-common
|
2022-03-09 17:46:51 +00:00 |
|
Jonas Platte
|
493b9a08c7
|
macros: Move utility things into util module
|
2022-03-04 17:43:39 +01:00 |
|
Jonas Platte
|
1192bd1099
|
common: Create crate-level macro re-exports module
|
2022-03-04 17:00:01 +01:00 |
|
Jonas Platte
|
c1e1665808
|
macros: Remove an unnecessary clone
|
2022-03-03 11:14:54 +01:00 |
|
Kévin Commaille
|
f2dca60fc7
|
macros: Rename ruma-events-macros to ruma-macros
|
2022-02-27 13:54:17 +01:00 |
|