Jonas Platte
|
7e210476fa
|
Re-enable #![deny(...)] attributes
|
2019-10-19 02:31:54 +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
|
85990676cd
|
Remove impl Serialize for EventResult
|
2019-10-17 00:21:52 +02:00 |
|
Jonas Platte
|
982d978d94
|
Almost finish deserialize impl's
|
2019-10-16 21:40:30 +02:00 |
|
Jonas Platte
|
1aaee389ec
|
Add missing TryFromRaw implementations
|
2019-10-15 23:45:45 +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
|
516f027aca
|
temporarily add panicing Serialize impl for EventResult
|
2019-10-14 22:20:31 +02:00 |
|
Jonas Platte
|
9b26c60fe8
|
Complete EventResult API for stripped
|
2019-10-13 19:13:15 +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 |
|
Jimmy Cuadra
|
91d564dcf8
|
WIP
|
2019-09-03 12:01:29 -07:00 |
|
Jimmy Cuadra
|
4984868e21
|
EventResult::into --> EventResult::into_result
|
2019-08-05 16:32:14 -07:00 |
|
Jimmy Cuadra
|
04cc113473
|
Add EventResult type for fallible deserialization.
|
2019-08-05 15:54:59 -07:00 |
|
Jimmy Cuadra
|
9bc2de3200
|
Mention that supporting types for event impl Deserialize .
|
2019-07-23 01:25:49 -07:00 |
|
Jimmy Cuadra
|
9dbf00b12d
|
Event traits --> Event kinds
|
2019-07-23 01:03:09 -07:00 |
|
Jimmy Cuadra
|
41ef94a617
|
Mention that TryFrom can be used just as FromStr .
|
2019-07-23 01:02:34 -07:00 |
|
Jimmy Cuadra
|
abac13a7dd
|
Bound Event by FromStr .
|
2019-07-23 00:44:42 -07:00 |
|
Jimmy Cuadra
|
4c7156b187
|
Clarify when FromStrErr is used.
|
2019-07-23 00:26:35 -07:00 |
|
Jimmy Cuadra
|
2d2e29f349
|
Add serialization/deserialization section to crate docs.
|
2019-07-23 00:25:55 -07:00 |
|
Jimmy Cuadra
|
de23971ee4
|
Deny and address all warnings.
|
2019-07-19 15:47:14 -07:00 |
|
Jimmy Cuadra
|
7eadc017a5
|
Convert collections modules to the new API.
|
2019-07-19 14:59:45 -07:00 |
|
Jimmy Cuadra
|
ebc6579d81
|
Convert the stripped mod to the new API.
|
2019-07-19 14:59:45 -07:00 |
|
Jimmy Cuadra
|
596fc3c3df
|
Convert m.push_rules to the new API.
|
2019-07-19 14:57:39 -07:00 |
|
Jimmy Cuadra
|
8c8f1790f1
|
Clarify how InvalidInput differs from InvalidEvent.
|
2019-07-19 14:55:42 -07:00 |
|
Jimmy Cuadra
|
03099b9a8b
|
Add InvalidInput type and convert m.room.name to the new API.
|
2019-07-19 14:43:24 -07:00 |
|
Jimmy Cuadra
|
22c15277a7
|
Convert m.call.*, m.room.message.feedback, and m.room.redaction to the new
API.
|
2019-07-19 14:39:31 -07:00 |
|
Jimmy Cuadra
|
20d2482108
|
Convert m.key.verification.{accept,cancel,key,mac,request} and
m.room_key to the new API.
|
2019-07-19 14:37:21 -07:00 |
|
Jimmy Cuadra
|
3c70dac634
|
Convert m.fully_read to the new API.
|
2019-07-19 14:37:01 -07:00 |
|
Jimmy Cuadra
|
4be050b19a
|
Convert m.tag and m.typing to the new API.
|
2019-07-19 14:35:21 -07:00 |
|
Jimmy Cuadra
|
1f3e33c77d
|
Convert m.dummy, m.forwarded_room_key, m.presence, m.room_key_request,
and m.sticker to the new API.
|
2019-07-19 14:33:40 -07:00 |
|
Jimmy Cuadra
|
ce2a3817cf
|
Rename ParseError to FromStrError and add InvalidEvent.
|
2019-06-19 22:45:20 -07:00 |
|
Jimmy Cuadra
|
c3f48c5be3
|
Use js_int types for numbers.
Closes #27.
|
2019-06-16 16:16:37 -07:00 |
|
Jimmy Cuadra
|
04cdc96b8b
|
Add m.push_rules.
|
2019-06-15 03:26:50 -07:00 |
|
Jimmy Cuadra
|
9b17d5729a
|
Use a consistent style for the name of the library.
|
2019-06-15 00:07:44 -07:00 |
|
Jimmy Cuadra
|
f4b7204f31
|
Derive PartialEq where possible.
|
2019-06-15 00:03:32 -07:00 |
|
Jimmy Cuadra
|
a0ee826828
|
Add E2EE events to EventType and collections types.
|
2019-06-14 23:12:18 -07:00 |
|
Jimmy Cuadra
|
a0a9799c81
|
Add events from the end-to-end encryption module.
|
2019-06-14 22:14:11 -07:00 |
|
Jimmy Cuadra
|
12212789b3
|
Future-proof enums with a __Nonexhaustive variant.
This can be replaced with the #[non_exhaustive] compiler attribute once
it's stabilized.
|
2019-06-14 18:18:47 -07:00 |
|
Jimmy Cuadra
|
add7ef0d8b
|
Add blank lines to make type definitions easier to read.
|
2019-06-14 14:02:03 -07:00 |
|
Jimmy Cuadra
|
7530342637
|
Adjust some default values.
|
2019-06-13 16:59:22 -07:00 |
|
Jimmy Cuadra
|
668e8b2239
|
Add m.room.tombstone.
|
2019-06-13 01:34:05 -07:00 |
|
Jimmy Cuadra
|
9836222b73
|
Add m.room.server_acl.
|
2019-06-13 01:24:00 -07:00 |
|
Jimmy Cuadra
|
9ad9776033
|
Add m.sticker.
|
2019-06-13 00:59:14 -07:00 |
|
Jimmy Cuadra
|
0fdf51598f
|
Add m.ignored_user_list.
|
2019-06-13 00:43:54 -07:00 |
|
Jimmy Cuadra
|
ba2538dda9
|
Update existing events for spec r0.5.0 and add m.fully_read and
m.room.message.feedback.
|
2019-06-12 16:20:10 -07:00 |
|
Jimmy Cuadra
|
9f43f37f41
|
Clarify the units of origin_server_ts.
|
2019-06-12 13:31:45 -07:00 |
|
Jimmy Cuadra
|
92fcb5181f
|
Fix typos.
|
2019-06-02 04:16:25 -07:00 |
|
Jimmy Cuadra
|
ae69e71620
|
Remove try_from feature.
|
2019-04-08 17:07:54 -07:00 |
|