5715 Commits

Author SHA1 Message Date
Jimmy Cuadra
e6b7179c28 Add SignatureSet. 2016-10-09 14:15:58 -07:00
Jimmy Cuadra
68fccbddd6 Use a SigningKey to produce a Signature. 2016-10-09 08:16:53 -07:00
Jimmy Cuadra
2b358f8cc7 Update dependencies and Cargo metadata. 2016-10-02 17:18:47 -07:00
Jimmy Cuadra
6200bbeca6 Add some of the types for m.room.member's third_party_invite field. 2016-10-02 04:00:49 -07:00
Jimmy Cuadra
8392852741 Convert Event, RoomEvent and StateEvent into traits. 2016-10-02 03:46:16 -07:00
Jimmy Cuadra
f3acdfd141 Reintroduce macro for enum Display and FromStr impls. 2016-10-01 04:25:45 -07:00
Jimmy Cuadra
7c71473854 Add missing Clone and Debug impls. 2016-10-01 04:04:13 -07:00
Jimmy Cuadra
b992542fae Add types for account contact information endpoints. 2016-10-01 03:53:43 -07:00
Jimmy Cuadra
29cbb4c0c7 Add missing imports and address warnings. 2016-10-01 01:04:00 -07:00
Jimmy Cuadra
c310cd1395 Use a trait to represent each endpoint. 2016-10-01 00:55:57 -07:00
Jimmy Cuadra
11285ddc95 Rename HTTP_METHOD to METHOD, document constants, fill in types for remaining session and account endpoints. 2016-09-30 17:22:21 -07:00
Jimmy Cuadra
409b8202f7 Define module layout and fill in types for a few APIs. 2016-09-30 16:13:59 -07:00
Jimmy Cuadra
0251019b01 ruma-client-api 2016-09-29 06:01:20 -07:00
Jimmy Cuadra
1fe0436f0e Use serde_derive instead of serde_macros. 2016-09-29 04:37:01 -07:00
Anthony Ramine
7e09a773cd Bump version to 0.2.2 2016-09-22 14:39:38 +02:00
aelita-mergebot
87e0352ead Add support for boolean values
Merge #5 a=@mre r=@nox
________________________________________________________________________
2016-09-22 05:34:33 -07:00
Matthias Endler
f553c4e08f Add support for boolean values 2016-09-22 14:31:05 +02:00
Anthony Ramine
c75cccbb03 Bump version to 0.2.1 2016-09-19 11:22:15 +02:00
aelita-mergebot
db248d7ea9 Add support for option parameters
Merge #4 a=@mre r=@nox
________________________________________________________________________
2016-09-19 02:09:39 -07:00
Matthias Endler
f639279e3e Add support for option parameters 2016-09-18 19:15:03 +02:00
Anthony Ramine
042a5eb077 Fix number version in README 2016-09-11 21:29:47 +02:00
Anthony Ramine
56ee81e398 Update to 0.2.0 2016-09-11 18:50:46 +02:00
Anthony Ramine
967549d859 Add convenience functions (fixes #2) 2016-09-11 18:49:29 +02:00
Anthony Ramine
b0794d23e3 Remove the T parameter from Deserializer
No idea how that ended up there.
2016-09-11 18:43:22 +02:00
Anthony Ramine
6a21acd172 Make Serializer borrow its inner url-encoded serializer
While at it, create Serializer::new to actually instantiate it.
2016-09-11 18:36:15 +02:00
Anthony Ramine
6ec689b376 x-www-form-urlencoded meets Serde 2016-09-11 13:44:28 +02:00
Jimmy Cuadra
e4e1ea1440 Bump version to 0.4.1. 2016-08-28 04:28:13 -07:00
Jimmy Cuadra
9da1442ffc Automatically downcase UserId localparts. 2016-08-28 04:27:32 -07:00
Jimmy Cuadra
a23203317e Bump ruma-identifiers to 0.4.0. 2016-08-27 03:57:03 -07:00
Jimmy Cuadra
0caed9be18 Bump version to 0.4.0. 2016-08-27 03:51:16 -07:00
Jimmy Cuadra
971948d386 Add Diesel integration. 2016-08-27 03:50:12 -07:00
Jimmy Cuadra
0dbcbd49f7 Add type aliases for custom events. 2016-08-18 08:46:07 -07:00
Jimmy Cuadra
7409b61ec5 Update deps. 2016-08-13 00:57:53 -07:00
Jimmy Cuadra
44026081bc Bump version to 0.3.0. 2016-08-13 00:52:48 -07:00
Jimmy Cuadra
7443da0269 Update deps. 2016-08-13 00:52:11 -07:00
Jimmy Cuadra
3c66f7268a Derive Clone for ID types and Copy for Error. 2016-08-13 00:50:36 -07:00
Jimmy Cuadra
2eb07f5abd Use Serde annotations instead of manual implementation for enums. 2016-08-03 23:43:08 -07:00
Jimmy Cuadra
85578cf76f Implement Serialize and Deserialize for MessageEventContent. 2016-08-03 04:01:13 -07:00
Jimmy Cuadra
f35f2015eb Skip serializing option values that are none. 2016-08-03 03:47:03 -07:00
Jimmy Cuadra
ca4c8a6784 Remove derived impls for Serialize and Deserialize for MessageType. 2016-07-30 12:04:22 -07:00
Jimmy Cuadra
cff81e625b Implement Serialize and Deserialize for MessageType. 2016-07-30 11:56:44 -07:00
Jimmy Cuadra
1e1079a904 Extract enum serialization into a macro. 2016-07-30 11:50:58 -07:00
Jimmy Cuadra
e8fba65f84 Implement Serialize and Deserialize for MembershipState. 2016-07-30 10:57:44 -07:00
Jimmy Cuadra
d11ef217a2 Factor the custom Serde Visitor out into a generic type. 2016-07-29 17:37:08 -07:00
Jimmy Cuadra
01d22eb526 Implement Serialize and Deserialize for JoinRule. 2016-07-29 17:12:12 -07:00
Jimmy Cuadra
8faaefe8be Implement Serialize and Deserialize for HistoryVisibility. 2016-07-29 17:06:01 -07:00
Jimmy Cuadra
9eceb9578c Implement Serialize and Deserialize for GuestAccess. 2016-07-29 16:54:58 -07:00
Jimmy Cuadra
cec216c8d6 Use ruma-identifiers types in receipt module. 2016-07-29 16:36:50 -07:00
Jimmy Cuadra
cd59bf1e2d Implement Serialize and Deserialize for PresenceState. 2016-07-29 16:33:14 -07:00
Jimmy Cuadra
b016a0b48b Implement Serialize and Deserialize for SessionDescriptionType. 2016-07-29 16:26:23 -07:00