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
|
349a57ffc7
|
events: Rename & hide event enum Custom variant
|
2021-06-17 19:43:23 +02:00 |
|
Jonas Platte
|
de737f30e7
|
events: Refactor macro code
Use Option::zip which was not possible with the previous MSRV.
|
2021-06-17 19:43:22 +02:00 |
|
Jonas Platte
|
e622803679
|
Use bool::then to simplify some code
|
2021-06-17 19:43:22 +02:00 |
|
Jonas Platte
|
105bb9cf67
|
Use format_ident! in import helper functions
|
2021-06-06 15:59:22 +02:00 |
|
Devin Ragotzy
|
1f84de4c7f
|
ci: Add the --order flag to cargo sort
|
2021-06-04 20:20:36 +00:00 |
|
Jonas Platte
|
0ea3fee8a0
|
events: Remove elaborate no-op
|
2021-05-20 20:57:52 +02:00 |
|
Jonas Platte
|
958d3a5812
|
Release ruma-events 0.22.2
|
2021-05-20 18:45:52 +02:00 |
|
Jonas Platte
|
085f082c5b
|
Release ruma-events 0.22.1
|
2021-05-17 16:58:57 +02:00 |
|
Jonas Platte
|
68250ae726
|
Release ruma-events 0.22.0
|
2021-05-17 00:51:09 +02:00 |
|
Jonas Platte
|
6667a841b9
|
events: Add missing syn cargo feature
`cargo check --workspace` worked without it because it was activated from elsewhere
|
2021-05-17 00:50:45 +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
|
702b619417
|
events: Introduce Redact trait
|
2021-05-15 13:26:05 +02:00 |
|
Jonas Platte
|
c07c3fa6d5
|
events: Introduce RedactContent trait
|
2021-05-15 13:23:20 +02:00 |
|
Jonas Platte
|
18005244c9
|
events: Merge RedactedSyncUnsigned and RedactedUnsigned
|
2021-05-15 13:12:13 +02:00 |
|
Jonas Platte
|
824a6db048
|
events-macros: Fix another missing type qualification
|
2021-05-15 12:27:25 +02:00 |
|
Devin Ragotzy
|
d1f5fb1d87
|
events: Declare all event enums inside one macro invocation
|
2021-05-14 23:52:34 +00:00 |
|
Jonas Platte
|
a4811663de
|
events-macros: Fix missing type qualification
|
2021-05-15 00:58:18 +02:00 |
|
Jonathan de Jong
|
b616ba8233
|
Add reasons for each doctest ignore
|
2021-05-14 13:44:49 +02:00 |
|
Devin Ragotzy
|
058d2bfa24
|
Add kind = ToDevice for all to device content
|
2021-05-14 12:25:30 +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 |
|
Jonas Platte
|
5710d2740c
|
Replace uses of SystemTime with new UInt-based timestamp types
|
2021-05-14 01:13:17 +02:00 |
|
Kévin Commaille
|
0acb121ee5
|
events: Remove BasicEventContent trait and derive
|
2021-05-12 16:02:44 +02:00 |
|
Kévin Commaille
|
7faa59be6b
|
events: Remove BasicToDevice enum
|
2021-05-12 16:02:44 +02:00 |
|
Kévin Commaille
|
8d8ca81e04
|
events: Split Basic enum into GlobalAccountData, RoomAccountData and BasicToDevice enums
Closes #563
|
2021-05-12 16:02:44 +02:00 |
|
Devin Ragotzy
|
dcff455c19
|
ci: Enforce sorted dependencies with cargo-sort
|
2021-05-11 19:59:44 +00:00 |
|
Jonas Platte
|
698087337b
|
events: Pass RoomVersionId by reference in redact method
|
2021-05-10 11:29:28 +02:00 |
|
Jonas Platte
|
c648f83cb6
|
events: Improve variable names in macro code
|
2021-05-10 11:23:45 +02:00 |
|
Jonas Platte
|
1bf84ab9fb
|
Remove unused dev-dependencies
|
2021-05-06 14:45:13 +02:00 |
|
Devin Ragotzy
|
c6aa2e0428
|
Fix clippy warnings across workspace
|
2021-05-06 06:16:28 -04:00 |
|
Jonas Platte
|
cf291bd5ba
|
Clean up lint attributes
|
2021-05-05 23:39:52 +02:00 |
|
Jonas Platte
|
3db0ea7026
|
Move all crates into a new crates directory
|
2021-05-03 15:50:27 +02:00 |
|