4922 Commits

Author SHA1 Message Date
Jimmy Cuadra
2a2dcf6801 impl Deserialize for m.room.name 2019-08-06 15:07:38 -07:00
Jimmy Cuadra
bd64b7f4be impl Deserialize for m.room.message 2019-08-06 15:02:05 -07:00
Jimmy Cuadra
2acca3e3ef impl Deserialize for m.room.encrypted 2019-08-06 14:54:25 -07:00
Jimmy Cuadra
c69e1c6204 impl Deserialize for m.ignored_user_list 2019-08-06 14:45:18 -07:00
Jimmy Cuadra
685a61954c Ensure validation logic for m.key.verification.start is run when deserializing the event, not just the content. 2019-08-06 01:25:29 -07:00
Jimmy Cuadra
4984868e21 EventResult::into --> EventResult::into_result 2019-08-05 16:32:14 -07:00
Jimmy Cuadra
30c1ef07dc impl Deserialize m.key.verification.start 2019-08-05 15:55:25 -07:00
Jimmy Cuadra
04cc113473 Add EventResult type for fallible deserialization. 2019-08-05 15:54:59 -07:00
Jonas Platte
6a5af6bf8b Make inclusion lists in event filters optional
to be able to distinguish between no inclusion list (everything is
included) and an empty inclusion list (nothing is included)
2019-08-05 20:55:38 +02:00
Jonas Platte
11eba71083 Remove remaining unused imports 2019-08-04 17:43:14 +02:00
Jonas Platte
413f489f0c Update dependencies 2019-08-04 16:50:25 +02:00
Jonas Platte
098c1d767c Update doc-tests 2019-08-04 16:50:25 +02:00
Jonas Platte
b2cb9a67b3 Re-enable tls by default, update deps 2019-08-04 16:50:25 +02:00
Jonas Platte
a71b286dcd Re-export ruma_client_api from ruma_client 2019-08-04 16:50:25 +02:00
Jonas Platte
cfaabe9486 Use endpoint_is_request branch for ruma-[client-]api 2019-08-04 16:50:25 +02:00
Jonas Platte
5543edb7b9 Export ruma_events, ruma_identifers 2019-08-04 16:50:25 +02:00
Jonas Platte
489be83a57 Re-add message_log example 2019-08-04 16:50:25 +02:00
Jonas Platte
b21b1cec8f Rerun rustfmt 2019-08-04 16:50:25 +02:00
Jonas Platte
d9a88cb63f Improve return type of sync 2019-08-04 16:50:25 +02:00
Jonas Platte
bbeb437635 Export type aliases HttpClient and HttpsClient 2019-08-04 16:50:25 +02:00
Jonas Platte
419a046098 Specify ruma-events git rev 2019-08-04 16:50:25 +02:00
Jonas Platte
ef380003ff Update to std::future::Futures, feature(async_await) 2019-08-04 16:50:25 +02:00
Jimmy Cuadra
09aaf69007 Only build PRs and the master branch on CI. 2019-08-03 14:02:53 -07:00
Jimmy Cuadra
b5102db0d4 Only build PRs and the master branch on CI. 2019-08-03 14:02:24 -07:00
Jimmy Cuadra
f6abbf4262 Only build PRs and the master branch on CI. 2019-08-03 14:02:08 -07:00
Jimmy Cuadra
e11ac61bef Only build PRs and the master branch on CI. 2019-08-03 14:01:50 -07:00
Jimmy Cuadra
0a23110786 Only build PRs and the master branch on CI. 2019-08-03 14:01:27 -07:00
Jimmy Cuadra
7dffd7b750 Only build PRs and the master branch on CI. 2019-08-03 14:01:04 -07:00
Jimmy Cuadra
b115a047ed Only build PRs and the master branch on CI. 2019-08-03 14:00:41 -07:00
Jimmy Cuadra
85142faf20
Merge pull request #42 from ruma/update-deps
Update dependencies
2019-08-03 13:55:40 -07:00
Jonas Platte
90b850a60d Update dependencies (except ruma-events) 2019-08-03 19:43:09 +02:00
Jimmy Cuadra
ef2535a7c2 Bump ruma-api-macros to 0.7.1. 2019-08-02 18:41:03 -07:00
Jimmy Cuadra
d8830770db Remove ruma-api as a dependency from ruma-api-macros. 2019-08-02 18:40:21 -07:00
Jimmy Cuadra
12cfa48fc5 Bump ruma-api-macros to 0.7.0. 2019-08-02 17:50:11 -07:00
Jimmy Cuadra
97c1a37f0c Update homepage and repository URLs for ruma-api-macros. 2019-08-02 17:49:06 -07:00
Jimmy Cuadra
4436bbfe5d Update ruma-api-macros README and remove redundant files. 2019-08-02 17:47:56 -07:00
Jimmy Cuadra
3e9fd80a7e Update dependencies and remove unnecessary ones. 2019-08-02 17:45:18 -07:00
Jimmy Cuadra
1bbdbff592 Only build PRs and the master branch on CI. 2019-08-02 17:41:48 -07:00
Jimmy Cuadra
6e7e6b5aec Run CI against all workspace members. 2019-08-02 17:07:33 -07:00
Jimmy Cuadra
4f03c4dce2 Re-export ruma-api-macros from ruma-api. 2019-08-02 16:08:35 -07:00
Jimmy Cuadra
e291730288 Add 'ruma-api-macros/' from commit '02bcb5f0384340d3a722ae93cdb0b74015902c7e'
git-subtree-dir: ruma-api-macros
git-subtree-mainline: 954b24f2bbda1617aaa80889ee1dd01f742a4164
git-subtree-split: 02bcb5f0384340d3a722ae93cdb0b74015902c7e
2019-08-02 13:51:32 -07:00
Anthony Ramine
278de79267 Bump version to 0.6.1 2019-07-31 10:49:32 +02:00
bors[bot]
2aba0def87 Merge #59
59: Expose lifetimes in UrlEncodedSerializer r=nox a=benesch

Forcing UrlEncodedSerializer to have a 'static lifetime is unnecessarily
restrictive and breaks a downstream dependency, reqwest. Thread a new
lifetime through to fix the problem.

Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
2019-07-31 08:27:48 +00:00
Jimmy Cuadra
954b24f2bb
Merge pull request #23 from ruma/v0.10.0
Update dependencies, bump version to 0.10.0
2019-07-30 14:09:07 -07:00
Nikhil Benesch
31641affad
Expose lifetimes in UrlEncodedSerializer
Forcing UrlEncodedSerializer to have a 'static lifetime is unnecessarily
restrictive and breaks a downstream dependency, reqwest. Thread a new
lifetime through to fix the problem.
2019-07-30 13:26:36 -04:00
Jonas Platte
78507b1d8b
Update dependencies, bump version to 0.10.0 2019-07-30 17:37:09 +02:00
bors[bot]
4250a6bcd9 Merge #51
51: feat: allow serialization of unit structs r=nox a=fdehau

fix #50 

Co-authored-by: Florian Dehau <work@fdehau.com>
2019-07-30 07:41:19 +00:00
bors[bot]
68113de90f Merge #57
57: Update the url crate to 2.0 r=nox a=SimonSapin



Co-authored-by: Simon Sapin <simon.sapin@exyr.org>
2019-07-30 07:37:26 +00:00
Simon Sapin
59f990aba4
url is a public dependency, so updating it to 2.0 is a breaking change 2019-07-29 10:19:29 +02:00
Jimmy Cuadra
02bcb5f038
Merge pull request #20 from ruma/spans
Use spans to improve error reporting
2019-07-26 09:45:41 -07:00