Jimmy Cuadra
|
733dfa7ef3
|
Implement FromStr and TryFrom<&str> for content types.
|
2019-06-28 12:47:41 -07:00 |
|
Jimmy Cuadra
|
065cb770af
|
Remove unnecessary for loops.
|
2019-06-22 00:21:23 -07:00 |
|
Jimmy Cuadra
|
a65a618930
|
Run rustfmt.
|
2019-06-21 17:18:06 -07:00 |
|
Jimmy Cuadra
|
db70792f03
|
Alphabetize struct fields.
|
2019-06-21 17:14:08 -07:00 |
|
Jimmy Cuadra
|
3bad559980
|
Add serialization and deserialization tests.
|
2019-06-21 17:00:28 -07:00 |
|
Jimmy Cuadra
|
e34ea05445
|
Skip serializing options.
|
2019-06-21 16:33:53 -07:00 |
|
Jimmy Cuadra
|
d9039db8df
|
Convert from JSON using impl FromStr and impl TryFrom<&'a str> rather than an inherent from_str method.
|
2019-06-20 22:40:14 -07:00 |
|
Jimmy Cuadra
|
e13acb4d7d
|
Fix copy/paste error.
|
2019-06-20 17:08:38 -07:00 |
|
Jimmy Cuadra
|
553d9c05cd
|
Add support for events with custom types.
|
2019-06-20 17:05:30 -07:00 |
|
Jimmy Cuadra
|
44a13e6515
|
Add span information to token streams when possible.
|
2019-06-19 23:50:06 -07:00 |
|
Jimmy Cuadra
|
52754f617c
|
Import Event trait in Serialize impl so event_type can be called.
|
2019-06-19 23:36:16 -07:00 |
|
Jimmy Cuadra
|
f663c79250
|
Remove extra commas from generated code.
|
2019-06-19 23:36:01 -07:00 |
|
Jimmy Cuadra
|
ce2a3817cf
|
Rename ParseError to FromStrError and add InvalidEvent.
|
2019-06-19 22:45:20 -07:00 |
|
Jimmy Cuadra
|
4423275ce2
|
Implement RoomEvent and StateEvent when applicable.
|
2019-06-19 22:40:58 -07:00 |
|
Jimmy Cuadra
|
be0f1d0363
|
Add inherent impl with from_str method.
|
2019-06-19 21:14:49 -07:00 |
|
Jimmy Cuadra
|
78e25552fb
|
Implement Serialize and Event.
|
2019-06-19 16:52:54 -07:00 |
|
Jimmy Cuadra
|
3b65905784
|
Generate content types and raw module.
|
2019-06-19 16:08:43 -07:00 |
|
Jimmy Cuadra
|
a5834ea192
|
Combine and sort common and custom fields using a Vec<Field>.
|
2019-06-19 15:40:29 -07:00 |
|
Jimmy Cuadra
|
2f54ee3e32
|
Implement generation of structs.
|
2019-06-18 17:54:50 -07:00 |
|
Jimmy Cuadra
|
48d6ef7ead
|
Split parsing and generation into separate modules.
|
2019-06-18 16:59:48 -07:00 |
|
Jimmy Cuadra
|
65bd8e86cc
|
ruma-events-macros
|
2019-06-18 16:34:45 -07:00 |
|
Jimmy Cuadra
|
1b0be0d0e7
|
Add crates.io categories. [ci skip]
|
2019-06-16 16:45:02 -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
|
8b6aeddcd6
|
Fix broken tests.
|
2019-06-13 17:48:52 -07:00 |
|
Jimmy Cuadra
|
7eb9384bd6
|
Add status_msg field to m.presence.
|
2019-06-13 17:44:49 -07:00 |
|
Jimmy Cuadra
|
c745db7eba
|
Fields in m.receipt are optional.
|
2019-06-13 17:34:03 -07:00 |
|
Jimmy Cuadra
|
dd2e0afd47
|
All fields on FileInfo, ImageInfo, and ThumbnailInfo are optional.
|
2019-06-13 17:32:09 -07:00 |
|
Jimmy Cuadra
|
110234827e
|
Add a note about m.room.member's invite_room_state data.
|
2019-06-13 17:06:42 -07:00 |
|
Jimmy Cuadra
|
7530342637
|
Adjust some default values.
|
2019-06-13 16:59:22 -07:00 |
|
Jimmy Cuadra
|
4661547e21
|
Add the m.server_notice* message type.
|
2019-06-13 01:50:13 -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
|
f8e5a80c93
|
Rename mod.rs files.
|
2019-06-12 16:22:29 -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
|
f9347bf57f
|
Bump dependencies.
|
2019-06-12 13:24:43 -07:00 |
|
Jimmy Cuadra
|
16347d7209
|
Add rustfmt and clippy to CI and address clippy warnings.
|
2019-06-02 18:42:36 -07:00 |
|
Jimmy Cuadra
|
dc7d71c79c
|
Use stable Rust on Travis.
|
2019-06-02 09:13:45 -07:00 |
|
Jimmy Cuadra
|
92fcb5181f
|
Fix typos.
|
2019-06-02 04:16:25 -07:00 |
|
Jimmy Cuadra
|
5930e30d96
|
Bump version to 0.12.0.
|
2019-04-11 17:59:07 -07:00 |
|
Jimmy Cuadra
|
b138ac47b2
|
Update dependencies.
|
2019-04-11 17:58:18 -07:00 |
|