Jonas Platte
|
fd15dcda9f
|
events-macros: Get rid of lots of unwrapping
|
2021-10-07 00:13:57 +02:00 |
|
Jonas Platte
|
0a679816a9
|
events-macros: Pass EventKind and EventKindVariation by value
|
2021-10-06 22:08:11 +02:00 |
|
Jonas Platte
|
04080085f9
|
events: Include all event type segments in Rust type names
|
2021-10-02 21:25:21 +02:00 |
|
Jonas Platte
|
c7284d972b
|
events-macros: Explain redaction special case
|
2021-10-02 13:48:23 +02:00 |
|
Jonas Platte
|
eff770d1d6
|
events: Generate initial event type aliases
|
2021-10-01 19:37:52 +02:00 |
|
Jonas Platte
|
802c83f38b
|
events: Fix redacted event type aliases
|
2021-10-01 18:41:11 +02:00 |
|
Jonas Platte
|
6b575ca0a2
|
events: Fix missing space in docs
|
2021-10-01 14:26:17 +02:00 |
|
Jonas Platte
|
bb581e9252
|
events: Generate more event type aliases
|
2021-09-30 20:11:32 +02:00 |
|
Jonas Platte
|
120f1f3b2a
|
events: Generate event type aliases
|
2021-09-30 00:47:13 +02:00 |
|
Jonas Platte
|
f0dff1c29a
|
events: Link to main content struct from redacted content struct docs
|
2021-09-29 00:30:39 +02:00 |
|
Jonas Platte
|
46c7e3f811
|
Clean up and rewrap documentation comments
|
2021-08-27 21:32:02 +02:00 |
|
Jonas Platte
|
9445e8756a
|
events: Derive / implement StaticEventContent for all relevant types
|
2021-08-11 20:31:03 +02:00 |
|
Jonas Platte
|
a30279b83f
|
events: Refactor EventContent derive code
|
2021-08-11 19:26:54 +02:00 |
|
Jonas Platte
|
11fea54173
|
events: Disallow more than one event kind attribute
… and also raise an error if there's multiple type attributes (extra
ones used to be ignored).
|
2021-08-11 19:19:16 +02:00 |
|
Jonas Platte
|
64fc1c794c
|
Revert "Stop special-casing zero fields in macro code" for ruma-events
This partially reverts commit 9b2602649f9e0fcb875404fc86d9c6fdbedd287d.
|
2021-07-26 15:01:47 +02:00 |
|
Jonas Platte
|
9b2602649f
|
Stop special-casing zero fields in macro code
|
2021-07-09 15:10:22 +02:00 |
|
Jonas Platte
|
05e28f7422
|
events: Add types for decrypted event payloads
|
2021-06-20 09:39:48 +02:00 |
|
Devin Ragotzy
|
e05aad184e
|
events: Make all pub structs non_exhaustive
|
2021-06-18 20:53:06 +02:00 |
|
Jonas Platte
|
e622803679
|
Use bool::then to simplify some code
|
2021-06-17 19:43:22 +02:00 |
|
Jonas Platte
|
ed9138796a
|
events: Refactor marker trait code generation
|
2021-05-15 15:18:22 +02:00 |
|
Jonas Platte
|
ab850d8237
|
events: Remove marker trait
It was not used anywhere.
|
2021-05-15 15:06:31 +02:00 |
|
Jonas Platte
|
37899db3c5
|
events: Borrow raw JSON in EventContent::from_parts
|
2021-05-15 15:02:27 +02:00 |
|
Jonas Platte
|
60d4ea027f
|
Use serde_json::Result alias
|
2021-05-15 15:02:02 +02:00 |
|
Devin Ragotzy
|
34134267c6
|
events: Generate redact method for content enums
… and remove redacted content structs non-room events
|
2021-05-15 12:51:20 +00:00 |
|
Jonas Platte
|
c07c3fa6d5
|
events: Introduce RedactContent trait
|
2021-05-15 13:23:20 +02:00 |
|
Devin Ragotzy
|
b6558c64a0
|
Add global and room account content traits and to device trait
|
2021-05-14 12:25:30 +02:00 |
|
Devin Ragotzy
|
c7c1251f3f
|
Specify content traits in attribute, remove derives
|
2021-05-14 12:25:30 +02:00 |
|
Kévin Commaille
|
0acb121ee5
|
events: Remove BasicEventContent trait and derive
|
2021-05-12 16:02:44 +02:00 |
|
Jonas Platte
|
698087337b
|
events: Pass RoomVersionId by reference in redact method
|
2021-05-10 11:29:28 +02:00 |
|
Devin Ragotzy
|
c6aa2e0428
|
Fix clippy warnings across workspace
|
2021-05-06 06:16:28 -04:00 |
|
Jonas Platte
|
3db0ea7026
|
Move all crates into a new crates directory
|
2021-05-03 15:50:27 +02:00 |
|