Damir Jelić
4c6c1d2107
matrix-sdk: Get rid of the common macros crate
...
This crate was used to support different trait bounds on WASM vs other
targets, since we only define async traits in a couple of places having
a whole crate to support this feels a bit excessive.
This patch defines a target specific super trait instead, this lowers
the compile time a couple of seconds.
2021-01-04 16:34:14 +01:00
Damir Jelić
2e3b6fba7d
common: Use the re-exported versions of js_int and assign
2021-01-04 15:29:49 +01:00
Damir Jelić
de51291166
common: Remove the direct dep to js_int now that Ruma re-exports it
2021-01-04 15:13:48 +01:00
Damir Jelić
d84a852ae9
matrix-sdk: Bump ruma to a released version.
2021-01-04 14:06:07 +01:00
Damir Jelić
fd705b7d5e
crypto: Canonicalize the start event content before calculating the commitment
...
This fixes : #117 .
2020-12-08 16:02:51 +01:00
Damir Jelić
9eb17e757c
matrix-sdk: Update ruma.
2020-12-05 14:59:40 +01:00
Jonas Platte
27ecab8574
Update ruma
2020-11-25 19:01:28 +01:00
Jonas Platte
5ca66a6985
Upgrade ruma dependency
2020-11-23 15:34:38 +01:00
Jonas Platte
2e387436cf
Remove unstable-synapse-quirks from default feature set for ruma
...
otherwise there is no point in exposing that feature
2020-11-23 15:27:43 +01:00
Jonas Platte
591f031246
Don't disable default-features on ruma
...
there are no features that are active by default, this is a no-op.
2020-11-23 14:58:48 +01:00
Damir Jelić
dedb1eb745
Merge branch 'update-ruma'
2020-11-20 21:21:24 +01:00
Damir Jelić
c40edcf2fc
matrix-sdk: Try to lower our compile times, at least in the crypto part for now.
2020-11-20 20:35:48 +01:00
Jonas Platte
38fec7f2b3
Upgrade ruma
2020-11-20 20:35:48 +01:00
Alejandro Domínguez
95243003c4
Update ruma
2020-11-20 20:14:18 +01:00
Damir Jelić
8f99180c99
Merge branch 'up-ruma' into master
2020-10-18 10:17:43 +02:00
Jonas Platte
0682292b91
Upgrade ruma
2020-10-18 02:01:39 +02:00
Damir Jelić
1c6a67d864
matrix-sdk: Bump our deps.
2020-10-13 13:01:18 +02:00
Damir Jelić
d039a39d84
common: Expose the lock guards publicly.
2020-10-10 14:13:28 +02:00
Alejandro Domínguez
b58d88e0c3
Upgrade ruma
2020-10-01 11:23:26 +02:00
Alejandro Domínguez
3070c98d26
Export "unstable-synapse-quirks" feature from ruma
2020-09-22 21:03:12 +02:00
Damir Jelić
6b24d91ed9
crypto: Add an initial version of our key request state machine.
2020-09-17 14:16:43 +02:00
Jonas Platte
fb47abcc17
Update ruma
2020-09-14 20:26:52 +02:00
stoically
35f5117800
matrix-sdk-common: Switch futures-locks to crates.io version
2020-09-08 07:28:32 +02:00
Devin Ragotzy
5c4e46e908
matrix_sdk_common: Bump ruma
2020-08-26 16:26:40 -04:00
Damir Jelić
6760f81498
matrix-sdk: Update Ruma.
2020-08-26 13:40:38 +02:00
Jonas Platte
5040be042f
Update ruma
2020-08-15 15:17:27 +02:00
Damir Jelić
181c2a92de
crypto: Initial scaffolding for the public cross signing keys.
2020-08-14 14:10:29 +02:00
Damir Jelić
c4ed5b6cda
matrix-sdk: Upgrade our deps.
2020-08-11 16:54:58 +02:00
Jonas Platte
d83fc971ce
Update ruma
2020-08-10 13:58:39 +02:00
Jonas Platte
591388d13e
Upgrade ruma
2020-08-05 18:00:45 +02:00
Damir Jelić
2bf8c99dfe
Merge branch 'master' into sas-verification
2020-08-04 11:23:24 +02:00
Damir Jelić
faadb4953b
Revert "common: Switch to the ruma git repo."
...
This reverts commit 021193087d
.
2020-08-03 10:22:17 +02:00
Damir Jelić
021193087d
common: Switch to the ruma git repo.
2020-08-03 10:04:09 +02:00
Devin Ragotzy
0ac2b84c02
Unify import style across workspace
2020-08-02 08:05:43 -04:00
Damir Jelić
108f6d90c9
matrix-sdk-common: Depend on our local Ruma branch.
2020-07-31 12:29:08 +02:00
Damir Jelić
d9fbc18777
crypto: Update to the latest Ruma changes.
2020-07-30 15:48:13 +02:00
Jonas Platte
6a96368048
Upgrade ruma
2020-07-26 16:58:27 +02:00
Jonas Platte
ca88539ec4
Upgrade ruma
2020-07-25 02:23:10 +02:00
Jonas Platte
bf54b17a2f
Upgrade ruma
2020-07-22 22:31:42 +02:00
Devin R
807435c043
Updates DeviceId to be Box<DeviceId>
2020-07-18 08:51:19 -04:00
Devin R
71f2a042c2
Rename Stub -> Sync for all ruma events
2020-07-18 08:37:43 -04:00
Devin R
2e8fc3e232
matrix-sdk-base: Integrate redacted events into message queue
...
Redact message events according to spec and ruma types. Remove content
using events redact() method and insert the redacting event into the
event being redacted.
2020-07-17 13:41:55 -04:00
Damir Jelić
d273786d83
matrix-sdk: Bump our dependencies.
2020-07-17 10:01:22 +02:00
Jonas Platte
9b5f95672b
Use js_int macros to improve readability
2020-07-11 21:06:21 +02:00
Damir Jelić
7003ea2d23
matrix-sdk-common: Depend on a working revision of the ruma mono repo.
2020-07-11 16:24:36 +02:00
Devin R
c0e6279837
matrix-sdk: Update request_builder to use new constructors
...
The create_room::Request and get_message_events::Request now have
constructors that we use in our builder structs.
2020-07-10 08:59:02 -04:00
Devin R
b83b9dc59d
matrix-sdk-base: Use new accessor methods for models/message.rs
...
ruma now has field access methods for all of the Any*Event enums use
them for MessageWrapper's AnyMessageEventStub contents.
2020-07-10 08:59:02 -04:00
Devin R
68822861d5
Rebase upstream/master into ruma-mono branch
2020-07-10 08:59:02 -04:00
Devin R
b1e7bc77a4
Use ruma/ruma master, address review issues
2020-07-10 08:59:02 -04:00
Devin R
eb5949dbc2
Move matrix-sdk to ruma monorepo
2020-07-10 08:59:00 -04:00