matrix-rust-sdk/matrix_sdk_crypto/src/identities
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
..
device.rs crypto: Rework the cryptostore. 2020-10-20 17:19:37 +02:00
manager.rs crypto: Rework the cryptostore. 2020-10-20 17:19:37 +02:00
mod.rs crypto: Move the identity/device management logic into a separate struct. 2020-09-18 20:50:32 +02:00
user.rs crypto: Initial support for private cross signing identities. 2020-10-14 15:35:06 +02:00