1748 Commits

Author SHA1 Message Date
Jonas Platte
ad582de058 Allow clippy warning use_self 2019-10-29 20:49:09 +01:00
Jonas Platte
41387208ab Test Rust 1.34.2 in CI (and beta, nightly) 2019-10-29 20:41:32 +01:00
Jonas Platte
b35e843fe2 Update dependencies 2019-10-29 20:35:46 +01:00
Jonas Platte
0889d1e0ef Fix version of ruma-api-macros 2019-10-29 20:06:16 +01:00
Jonas Platte
4a03892ad6 Bump versions 2019-10-29 20:05:07 +01:00
Jonas Platte
540a69a8e4 Remove percent-encoding dependency (not currently used) 2019-10-29 19:56:00 +01:00
Jonas Platte
958a0a01c4 Remove server-side functionality
This is a temporary change that is done to get one release of
ruma-client-api with ruma-events' EventResult API out. After ruma-api
0.11 is released, getting the server-side functionality to work again
will be a priority.
2019-10-29 12:11:38 +01:00
Jonas Platte
481f4c682c Remove unnecessary main declaration in doctest
(found by clippy)
2019-10-29 12:01:09 +01:00
Jonas Platte
7e7041fbef Allow clippy::use_self 2019-10-29 11:02:25 +01:00
Jonas Platte
83bb889b64 Bump MSRV from 1.34 to 1.34.2, test it in CI 2019-10-29 00:14:00 +01:00
Jonas Platte
67fe498a4d Bump version to 0.15.1 2019-10-27 21:26:25 +01:00
Jonas Platte
63e32f2b01 Exhausively match EventType in collection deserilization code 2019-10-27 21:26:03 +01:00
Jonas Platte
3b78391fbc Implement custom event deserialization 2019-10-27 21:01:28 +01:00
Jonas Platte
cbe22a84eb Remove commented-out code 2019-10-27 20:56:32 +01:00
Jonas Platte
64a05a3c04 Bump versions 2019-10-24 22:56:06 +02:00
Jonas Platte
a118ee3e9e Update ruma-events-macros' dependencies 2019-10-24 22:55:33 +02:00
Jonas Platte
ce6937c1a0 Update docs 2019-10-24 22:55:10 +02:00
Jonas Platte
1af436b775 Simplify InvalidEvent, update its documentation 2019-10-24 22:26:20 +02:00
Jonas Platte
398e0a73d1 travis: Don't run clippy on old rustc 2019-10-23 03:05:16 +02:00
Jonas Platte
cb4bddf60a Disable clippy lint use_self for ruma-events-macros 2019-10-23 03:05:02 +02:00
Jonas Platte
2dd9ddd4e8 Allow clippy warning use_self 2019-10-23 02:53:00 +02:00
Jonas Platte
677fb69bde travis: Add allowed-to-fail nightly job 2019-10-23 02:52:38 +02:00
Jonas Platte
09a5e80472 travis: Only run cargo-audit on stable
… since there's no benefit in running it multiple times and cargo-audit
can't be built with older versions of rustc (at the time of writing,
cargo-audit has a minimum rustc version of 1.36.0)
2019-10-23 02:46:23 +02:00
Jonas Platte
09378eb410 Refactor collection deserialization 2019-10-23 02:24:07 +02:00
Jonas Platte
1689b09a05 travis: Test ruma-events on different rustc versions 2019-10-23 02:10:53 +02:00
Jonas Platte
60c817e1b0 Restore Rust 1.34.2 compatibility 2019-10-23 02:09:34 +02:00
Jonas Platte
c925cd13f1 Update documentation 2019-10-23 01:42:06 +02:00
Jonas Platte
63a012d338 Remove useless .to_owned() 2019-10-23 01:41:37 +02:00
Jonas Platte
922a35eced Refactor InvalidEvent 2019-10-23 01:41:09 +02:00
Jonas Platte
665fe4f4f4 Move (de)serialization helpers to util module 2019-10-22 23:56:03 +02:00
Jonas Platte
777f3b9686 Re-run rustfmt 2019-10-22 23:52:44 +02:00
Florian Jacob
c21ecd9b6d Add more documentation to vec_as_map_of_empty 2019-10-22 23:44:18 +02:00
Jonas Platte
7e5ca6e7af Simplify StrippedStateContent deserialization 2019-10-21 14:20:53 +02:00
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
63b85f524c Get rid of redundant clone()s (thanks to clippy) 2019-10-18 23:48:48 +02:00
Jonas Platte
4f74c0b4fe Update dependency versions 2019-10-18 00:47:42 +02:00
Jonas Platte
7f771bc788 Fix failing tests 2019-10-18 00:46:35 +02:00
Jonas Platte
134738f676 Remove stuff only needed for server-side usage 2019-10-17 00:41:18 +02:00
Jonas Platte
4ad8ee7d08 Switch ruma-api branch 2019-10-17 00:23:53 +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
5ad549b3e4 Add part of the deserialization logic for collections/raw/* 2019-10-16 00:07:06 +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
2022dcc5f2 Update deps 2019-10-14 22:14:01 +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