15 Commits

Author SHA1 Message Date
Jonas Platte
63b85f524c Get rid of redundant clone()s (thanks to clippy) 2019-10-18 23:48:48 +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
297bae4cbb Remove FromStr, TryFrom<&'_ str> implementations 2019-09-29 10:56:15 +02:00
Jimmy Cuadra
2acca3e3ef impl Deserialize for m.room.encrypted 2019-08-06 14:54:25 -07:00
Jimmy Cuadra
de23971ee4 Deny and address all warnings. 2019-07-19 15:47:14 -07:00
Jimmy Cuadra
0f55729478 Handle both deserialization and validation errors in FromStr impls. 2019-07-19 14:54:31 -07:00
Jimmy Cuadra
5c2e0e62a9 Implement Serialize for EncryptedEventContent. 2019-07-19 14:53:19 -07:00
Jimmy Cuadra
8b59318629 Sort the unsigned field alphabetically in Serialize impls. 2019-07-19 14:52:49 -07:00
Jimmy Cuadra
21351aaff0 Convert m.room.encrypted to the new API. 2019-07-19 14:52:30 -07:00
Jimmy Cuadra
c3f48c5be3 Use js_int types for numbers.
Closes #27.
2019-06-16 16:16:37 -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
a0a9799c81 Add events from the end-to-end encryption module. 2019-06-14 22:14:11 -07:00