29 Commits

Author SHA1 Message Date
Jonas Platte
326e705468
Fix hello_world example 2020-05-22 17:58:25 +02:00
Jonas Platte
b3438bb99d
Update ruma-api, ruma-client-api, ruma-events 2020-04-22 22:32:33 +02:00
Jonas Platte
e44087f8b8
Support endpoints with s other than ruma_client_api::Error 2020-04-20 13:21:10 +02:00
Jonas Platte
b412c58436
Update dependencies, rewrite error module 2020-02-09 21:48:11 +01:00
Jonas Platte
ca3d77e620 Fix warnings 2019-10-31 22:37:27 +01:00
Jonas Platte
682dda60fa Update dependencies 2019-10-30 18:43:38 +01:00
Jonas Platte
a55fe5511e Remove #![feature(async_await)] from examples 2019-10-30 18:43:22 +01: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
b21b1cec8f Rerun rustfmt 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
585d22a612 Run clippy on all targets and all features and fix clippy warning. 2019-06-02 17:37:46 -07:00
Jimmy Cuadra
97b42c9d10 Run rustfmt. 2019-06-02 09:32:06 -07:00
Jimmy Cuadra
982b855d91 Remove try_from feature. 2019-04-11 18:33:53 -07:00
Jörg Sommer
e0f20ba0d0 Use tokio for hello_world example
The crate tokio-core is deprecated.
2019-01-22 10:38:31 +01:00
Jonas Platte
28d7db40ed Update to Rust 2018 2019-01-08 19:55:28 +01:00
Jonas Platte
c3ccf51b02 Use nested imports 2018-12-22 12:10:47 +01:00
Jonas Platte
1ba4f66ba9 Run rustfmt 2018-12-22 12:05:25 +01:00
Jörg Sommer
5fb288fc66 Cleanup the examples a little bit
They run fine without this code.
2018-08-31 17:47:52 +02:00
Jörg Sommer
a0ce0a9da8 Update examples 2018-08-31 17:47:52 +02:00
Florian Jacob
bb96b002d8 [feature(conservative_impl_trait)] is stable since rust 1.26 2018-05-17 17:37:58 +02:00
Jonas Platte
5df3d4888d Turn homeserver url and room into command line params for hello_world examples 2017-10-19 23:43:45 +02:00
Jonas Platte
76d0780f5a Remove aliases for Core and Handle from tokio_core 2017-10-19 23:29:06 +02:00
Jonas Platte
afa4467448 Remove unused extern crate in hello_world example 2017-10-19 23:24:46 +02:00
Jonas Platte
ef119f71e8 Apply small change suggested by clippy 2017-10-19 23:24:46 +02:00
Jonas Platte
002745fb2f Remove a few unnecessary clones in hello_worl example 2017-10-19 23:24:46 +02:00
Jonas Platte
3dae62ec25 Remove Client lifetime from Futures by using Rc and clones 2017-10-19 23:24:46 +02:00
Jonas Platte
61d848d2b5 Add hello_world example 2017-07-12 01:25:43 +10:00