matrix-rust-sdk/matrix_sdk_base
Damir Jelić 7cab7cadc9 crypto: Rework the cryptostore.
This modifies the cryptostore and storage logic in two ways:
    * The cryptostore trait has only one main save method.
    * The receive_sync method tries to save all the objects in one
    `save_changes()` call.

This means that all the changes a sync makes get commited to the store
in one transaction, leaving us in a consistent state.

This also means that we can pass the Changes struct the receive sync
method collects to our caller if the caller wishes to store the room
state and crypto state changes in a single transaction.
2020-10-20 17:19:37 +02:00
..
.cargo matrix-sdk: Add missing newlines at the end of some files. 2020-05-12 15:48:17 +02:00
src crypto: Rework the cryptostore. 2020-10-20 17:19:37 +02:00
Cargo.toml crypto: Initial support for private cross signing identities. 2020-10-14 15:35:06 +02: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-base

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

NOTE: This is the no IO client state machine, you're probably interested in the main rust-sdk crate.