Jimmy Cuadra
d0040fecdd
Add note about minimum Rust version.
2019-04-11 17:29:30 -07:00
Jimmy Cuadra
599e292d5c
Add note about minimum Rust version.
2019-04-11 17:29:15 -07:00
Jimmy Cuadra
ae69e71620
Remove try_from feature.
2019-04-08 17:07:54 -07:00
Jimmy Cuadra
56958147ca
Update dependencies, remove Diesel workaround, remove try_from feature.
2019-04-08 17:05:56 -07:00
Jimmy Cuadra
b15f7a1c07
Update dependencies.
2019-04-08 16:52:20 -07:00
Jimmy Cuadra
9a99e1906f
Merge pull request #7 from ruma/rust-2018
...
Update to Rust 2018
2019-02-11 12:58:01 -08:00
Jonas Platte
407d6efc06
Merge pull request #25 from florianjacob/null-absent-empty
...
Properly handle CanonicalAliasEvent and NameEvent content being absent, null or empty
2019-02-11 14:07:06 +01:00
Florian Jacob
01156ad661
Properly handle CanonicalAliasEvent and NameEvent content being absent, null or empty,
...
which is allowed by the spec to show those events were deleted:
https://matrix.org/docs/spec/client_server/r0.4.0.html#m-room-canonical-alias
https://matrix.org/docs/spec/client_server/r0.4.0.html#m-room-canonical-alias
2019-02-11 13:50:07 +01:00
Jonas Platte
8f130f95e6
Update to Rust 2018, work around a warning for diesel
2019-02-11 13:28:09 +01:00
Jimmy Cuadra
fa798d7a04
Make Session fields public.
2019-02-08 13:43:15 -08:00
Jimmy Cuadra
3159bd8076
Bump version to 0.11.1.
2019-02-08 13:11:18 -08:00
Jimmy Cuadra
f7aa8edd5f
Bump version to 0.11.1.
2019-02-06 16:09:22 -08:00
Jimmy Cuadra
58a785c350
Merge pull request #17 from ruma/serde-derive-feature
...
Replace serde_derive by re-exports in serde
2019-02-06 13:42:11 -08:00
Jimmy Cuadra
6bb5a9865f
Merge pull request #15 from ruma/serde-derive-feature
...
Replace serde_derive by re-exports in serde
2019-02-06 13:41:53 -08:00
Jimmy Cuadra
c275b3343a
Merge pull request #36 from ruma/serde-derive-feature
...
Replace serde_derive by re-exports in serde
2019-02-06 13:41:32 -08:00
Jimmy Cuadra
df63ab3df9
Merge pull request #24 from ruma/serde-derive-feature
...
Replace serde_derive by re-exports in serde
2019-02-06 13:41:01 -08:00
Jonas Platte
af954220bd
Replace serde_derive by re-exports in serde
2019-02-06 20:36:39 +01:00
Jonas Platte
561a254ca8
Replace serde_derive by re-exports in serde
2019-02-06 20:24:29 +01:00
Jonas Platte
26842652fc
Replace serde_derive by re-exports in serde
2019-02-06 20:17:38 +01:00
Jonas Platte
7f18e1c32e
Replace serde_derive by re-exports in serde
2019-02-06 20:12:30 +01:00
Jimmy Cuadra
dce64609e8
Merge pull request #8 from exul/fix-diesel
...
Allow types to be used as compound keys
2019-02-04 23:59:48 -08:00
Andreas Studer
c8aeee8271
Allow types to be used as compound keys
2019-02-04 23:13:52 +01:00
Jimmy Cuadra
904942eb48
Merge pull request #35 from ruma/sync_events_filter
...
r0::sync::sync_events: Fix (de)serialization of filter argument
2019-02-02 15:16:36 -08:00
Jonas Platte
71f6a93d76
r0::sync::sync_events: Fix (de)serialization of filter argument
2019-02-02 22:11:59 +01:00
Jimmy Cuadra
ebead04bb9
Bump version to 0.3.1.
2019-02-01 13:57:39 -08:00
Jimmy Cuadra
4396affedb
Merge pull request #14 from ruma/import-fix
...
Fix trait imports in generated code without rename
2019-01-31 18:01:26 -08:00
Jonas Platte
f761a8f837
Fix trait imports in generated code without rename
...
Previously, the generated code would fail to compile when the 'derive' feature
on the serde crate was enabled
2019-01-30 22:50:11 +01:00
Florian Jacob
14fbaf698f
joined_rooms: new API call
...
that was added in r0.3.0
2019-01-23 20:22:05 +01:00
Alejandro Domínguez
d48fc54c96
Use folders instead of mods
2019-01-22 18:41:41 +01: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
Jimmy Cuadra
9d5449b219
Merge pull request #23 from ruma/rust-2018
...
Update to Rust 2018
2019-01-16 08:02:50 -08:00
Jonas Platte
1b2cd339cb
Update to Rust 2018
2019-01-16 00:13:10 +01:00
Jonas Platte
6f093f70ed
Use nested imports, misc. import changes
...
* Bring imports into a consistent order (std, crates, internal)
* Replace super::super-imports by crate-relative ones
2019-01-16 00:13:10 +01:00
Jimmy Cuadra
33e113f5e5
Merge pull request #6 from ruma/rust-2018
...
Update doc tests to Rust 2018, remove unnecessary main declaration from them
2019-01-15 12:36:03 -08:00
Jimmy Cuadra
b6401a1232
Merge pull request #16 from ruma/rust-2018
...
Update to Rust 2018
2019-01-15 12:33:28 -08:00
Jimmy Cuadra
cba85ba9c5
Merge pull request #13 from ruma/rust-2018
...
Update to Rust 2018
2019-01-15 12:33:10 -08:00
Jimmy Cuadra
c78faf0bf3
Merge pull request #31 from ruma/rust-2018
...
Update to Rust 2018
2019-01-15 12:32:48 -08: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
Jonas Platte
163a555a17
Update doc tests to Rust 2018, remove unnecessary main declaration from them
2019-01-13 22:30:12 +01:00
Jonas Platte
282b952192
Update to Rust 2018
2019-01-13 21:42:45 +01:00
Jonas Platte
d3322bec11
Update to Rust 2018
2019-01-13 21:41:27 +01:00
Jonas Platte
bc968c8e14
Update to Rust 2018
2019-01-13 21:22:37 +01:00
Jonas Platte
f95b4b05bb
Use nested imports
2019-01-13 21:13:18 +01:00
Jonas Platte
586bca680d
Re-run 'cargo fmt'
2019-01-13 21:12:33 +01:00
Jimmy Cuadra
025e981b96
Merge pull request #15 from ruma/nested-imports
...
Use nested imports
2019-01-09 14:53:32 -08:00
Jimmy Cuadra
578c3f38ab
Merge pull request #12 from ruma/nested-imports
...
Use nested imports, update formatting
2019-01-09 14:52:59 -08:00
Jimmy Cuadra
d23813efb1
Merge pull request #5 from ruma/nested-imports
...
Use nested imports
2019-01-09 14:52:29 -08:00