Fork of github.com/matrix-org/matrix-rust-sdk
Find a file
Damir Jelić 593b5e55cb crypto: Don't load the account every time we load sessions in the sled store
This removes a massive performance issue since getting sessions is part
of every message send cycle.

Namely every time we check that all our devices inside a certain room
have established 1 to 1 Olm sessions we load the account from the store.

This means we go through an account unpickling phase which contains AES
decryption every time we load sessions.

Cache instead the account info that we're going to attach to sessions
when we initially save or load the account.
2021-03-11 19:49:32 +01:00
.github/workflows CI: Publish docs via github pages 2021-03-01 12:53:35 +01:00
contrib/mitmproxy contrib: Make the failures mitmproxy script a bit smarter. 2021-03-02 12:24:23 +01:00
matrix_sdk matrix-sdk-base: remove InvitedRoom, JoinedRoom, LeftRoom and RoomState 2021-03-05 12:19:50 +01:00
matrix_sdk_base Merge branch 'room_merge' 2021-03-08 13:39:46 +01:00
matrix_sdk_common matrix-sdk: Bump Ruma 2021-03-01 19:20:07 +01:00
matrix_sdk_crypto crypto: Don't load the account every time we load sessions in the sled store 2021-03-11 19:49:32 +01:00
matrix_sdk_test matrix-sdk: Bump our deps 2021-01-25 15:47:51 +01:00
matrix_sdk_test_macros matrix-sdk: Add a bunch of readmes to the crates. 2020-05-26 19:33:13 +02:00
.gitignore matrix_sdk_crypto: Fix clippy warnings add wasm emscripten to .gitignore 2020-08-04 20:02:09 -04:00
.pre-commit-config.yaml nio-rust: Add a pre-commit config. 2019-11-10 18:33:27 +01:00
Cargo.toml matrix-sdk: Get rid of the common macros crate 2021-01-04 16:34:14 +01:00
LICENSE rust-sdk: Switch the license to Apache 2.0. 2020-02-21 16:54:05 +01:00
Makefile matrix-sdk: Split out the crypto part of the sdk into a separate crate. 2020-04-29 09:48:00 +02:00
README.md README: Add a badge that points to the latest master docs 2021-03-02 11:40:02 +01:00
tarpaulin.toml tarpaulin: Disable tarpaulin debugging. 2020-08-11 10:55:10 +02:00

Build Status codecov License #matrix-rust-sdk Docs - Master Docs - Stable

matrix-rust-sdk

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

Project structure

The rust-sdk consists of multiple crates that can be picked at your convenience:

  • matrix-sdk - High level client library, with batteries included, you're most likely interested in this.
  • matrix-sdk-base - No (network) IO client state machine that can be used to embed a Matrix client in your project or build a full fledged network enabled client lib on top of it.
  • matrix-sdk-crypto - No (network) IO encryption state machine that can be used to add Matrix E2EE support to your client or client library.

Status

The library is in an alpha state, things that are implemented generally work but the API will change in breaking ways.

If you are interested in using the matrix-sdk now is the time to try it out and provide feedback.

License

Apache-2.0