matrix-rust-sdk/matrix_sdk_crypto
Damir Jelić e09a155cfc crypto: Fix a completely wrong application of extend()
We were merging the to-device messages using the extend() method while
our data has the shape of BTreeMap<UserId, BTreeMap<_, _>>, extending
such a map would mean that the inner BTreeMap would get dropped if both
maps contain the same UserId.

We need to extend the inner maps, those are guaranteed to contain unique
device ids.
2021-03-12 16:33:26 +01:00
..
benches benches: Add a benchmark for the missing session collecting 2021-03-11 13:30:19 +01:00
src crypto: Fix a completely wrong application of extend() 2021-03-12 16:33:26 +01:00
Cargo.toml crypto: Encrypt room keys for a room key share request in parallel 2021-03-09 14:30:28 +01:00
README.md matrix-sdk: Add a bunch of readmes to the crates. 2020-05-26 19:33:13 +02:00

README.md

Build Status codecov License #matrix-rust-sdk

matrix-sdk-crypto

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust.

NOTE: This is a E2EE implementation for Matrix, you are probably interested in the main rust-sdk crate.