1748 Commits

Author SHA1 Message Date
Jimmy Cuadra
2eeb90ed55 Add crates.io categories. [ci skip] 2019-06-16 16:46:02 -07:00
Jimmy Cuadra
1b0be0d0e7 Add crates.io categories. [ci skip] 2019-06-16 16:45:02 -07:00
Jimmy Cuadra
aa9d546b1b Add crates.io categories. [ci skip] 2019-06-16 16:42:46 -07:00
Jimmy Cuadra
77e5976ba6 Add crates.io categories. [ci skip] 2019-06-16 16:41:59 -07:00
Jimmy Cuadra
a16eb7cfe1 Use js_int types for numbers.
See https://github.com/ruma/ruma-events/issues/27 for rationale.
2019-06-16 16:32:56 -07:00
Jimmy Cuadra
c3f48c5be3 Use js_int types for numbers.
Closes #27.
2019-06-16 16:16:37 -07:00
Jimmy Cuadra
bc7683af96 Bump version to 0.13.1. 2019-06-16 01:30:42 -07:00
Jimmy Cuadra
9506c565e0 Add support for room version 5. 2019-06-16 01:29:54 -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
d5ce34d301 Address clippy warnings. 2019-06-12 13:16:52 -07:00
Jimmy Cuadra
262b84022c Bump version to 0.5.0. 2019-06-12 13:11:33 -07:00
Jimmy Cuadra
82a20e23da Bump dependencies. 2019-06-12 13:11:06 -07:00
Jimmy Cuadra
557ac4b485 Use the name and description fields to generate better documentation. 2019-06-12 13:06:35 -07:00
Jimmy Cuadra
0b75d2f1c3 Run rustfmt. 2019-06-12 13:03:47 -07:00
Jimmy Cuadra
3b383d78b7 Bump version to 0.8.0. 2019-06-12 12:59:11 -07:00
Jimmy Cuadra
432dbf94c8 Revise the error type to hide lower-level errors. 2019-06-12 12:37:55 -07:00
Jimmy Cuadra
9805750f83 Bump dependencies. 2019-06-12 12:21:39 -07:00
Jimmy Cuadra
6de32b1b9c Bump version to 0.13.0. 2019-06-03 12:14:34 -07:00
Jimmy Cuadra
b37bb53495 Add DeviceId. 2019-06-03 12:13:11 -07:00
Jimmy Cuadra
9011423eea Consistently use localpart instead of opaque_id and use homeserver_host instead of server_name. 2019-06-03 12:11:57 -07:00
Jimmy Cuadra
fb8039ac6d Support event ID formats for all room versions. 2019-06-03 11:52:15 -07:00
Jimmy Cuadra
6d9b3c7bf2 Add RoomVersionId. 2019-06-03 10:21:57 -07:00
Jimmy Cuadra
44de3bcb4d Move each type into its own module. 2019-06-03 09:00:04 -07:00
Jimmy Cuadra
e3b453c468 Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 19:12:05 -07:00
Jimmy Cuadra
1f7ac74adb Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 18:57:28 -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
4a4c2dd025 Add rustfmt and clippy to CI and address clippy warnings. 2019-06-02 18:14:37 -07:00
Jimmy Cuadra
21c2288d51 Fix serialization error due to url not supporting serde 1.x. 2019-06-02 18:00:23 -07:00
Jimmy Cuadra
66be8d1a98 Run clippy on all targets and all features. 2019-06-02 17:36:22 -07:00