Jonas Platte
4329d32af7
Update deps
2019-10-14 22:31:47 +02:00
Jonas Platte
af9f08ad2d
Update dependencies
2019-10-03 11:11:48 +02:00
Jonas Platte
721dc6f413
Update dependencies
2019-09-07 11:59:00 +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
b115a047ed
Only build PRs and the master branch on CI.
2019-08-03 14:00:41 -07:00
Jimmy Cuadra
9372a89e17
Run cargo-audit on CI.
2019-07-24 22:44:32 -07:00
Jimmy Cuadra
0f3fbec8b7
Add crates.io categories. [ci skip]
2019-06-16 16:52:28 -07: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
8e38761ad5
Add clippy to CI.
2019-06-02 13:12:34 -07:00
Jimmy Cuadra
8699dc7708
Revise the error type to hide lower-level errors.
2019-06-02 10:47:10 -07:00
Jimmy Cuadra
5eac184768
Add crate documentation.
2019-06-02 10:31:35 -07:00
Jimmy Cuadra
15dd1b5b54
Add a session accessor to the client.
2019-06-02 10:31:14 -07:00
Jimmy Cuadra
71e1df7063
Add clippy lints.
2019-06-02 09:40:00 -07:00
Jimmy Cuadra
97b42c9d10
Run rustfmt.
2019-06-02 09:32:06 -07:00
Jimmy Cuadra
815c54f2b9
Make ClientData private.
2019-06-02 09:30:50 -07:00
Jimmy Cuadra
949249ea49
Use stable Rust on Travis.
2019-06-02 09:11:29 -07:00
Jimmy Cuadra
bb8db260b5
Merge pull request #20 from ruma/readme-update
...
README.md: Add Status, Contributing sections
2019-04-18 16:56:10 -07:00
Jonas Platte
e1f5e4643b
README.md: Add Status, Contributing sections
2019-04-19 00:54:18 +02:00
Jimmy Cuadra
cd09349174
Bump version to 0.2.0.
2019-04-11 22:23:46 -07:00
Jimmy Cuadra
a66830de7a
Add joined rooms membership endpoint.
2019-04-11 22:23:37 -07:00
Jimmy Cuadra
982b855d91
Remove try_from feature.
2019-04-11 18:33:53 -07:00
Jimmy Cuadra
d6c3be4566
Update dependencies.
2019-04-11 18:31:22 -07:00
Jimmy Cuadra
913c25e5b8
Add note about minimum Rust version.
2019-04-11 17:30:22 -07:00
Jimmy Cuadra
fa798d7a04
Make Session fields public.
2019-02-08 13:43:15 -08:00
Jonas Platte
c50f043c51
Merge pull request #16 from jo-so/master
...
Update ruma client to new Tokio engine, make it thread safe
2019-01-22 18:36:14 +01: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
Jörg Sommer
7cf5ac80c8
Make ruma client thread safe
...
The new tokio engine requires a client that is safe to be send between
threads. It's simply done by converting Rc to Arc and RefCell to Mutex.
2019-01-22 10:36:04 +01:00
Jonas Platte
e9c4cad418
Merge pull request #15 from florianjacob/session-device_id
...
Rebase: Expose device_id through session
2019-01-15 16:34:08 +01:00
Nathan Musoke
eb92b86ce4
Store device_id in session
...
The device_id is needed by the client, but otherwise inaccessible (unless
provided to the server by the client).
This is analogous to how the user_id is currently stored for guests, but
will probably be more often used. The device_id is needed to implement e2e
encryption.
2019-01-15 16:14:20 +01:00
Jimmy Cuadra
c8bc590cba
Merge pull request #14 from ruma/rust-2018
...
Update to Rust 2018
2019-01-09 14:52:07 -08:00
Jonas Platte
28d7db40ed
Update to Rust 2018
2019-01-08 19:55:28 +01:00
Jimmy Cuadra
f3e82e8c90
Merge pull request #13 from ruma/nested-imports
...
Use nested imports
2019-01-07 14:36:38 -08: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
Jimmy Cuadra
dc6f35b143
Update dependencies and remove futures-await example.
2018-12-03 22:13:55 -08:00
Jörg Sommer
a01702093e
Make cargo-clippy happy
2018-08-31 17:48:09 +02: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
Jörg Sommer
04af2e41b4
Client.log_in: Add parameter device_id
...
This parameter was added to the request.
a7bce18b59
2018-08-31 17:47:52 +02:00