5670700f7f
The current implementation uses number of invited and joined members for "and {} others" message. This assigns rooms with 5 members the name "a, b, c, and 5 others" suggesting 8 room members. The correct message is "a, b, c, and 2 others". To get this, subtract number of heroes from invited and joined member count. Step 3.ii of the naming algorithm[0] confirms using a remaining users count in the name. [0] https://matrix.org/docs/spec/client_server/latest#calculating-the-display-name-for-a-room |
||
---|---|---|
.github/workflows | ||
contrib/mitmproxy | ||
matrix_sdk | ||
matrix_sdk_appservice | ||
matrix_sdk_base | ||
matrix_sdk_common | ||
matrix_sdk_crypto | ||
matrix_sdk_test | ||
matrix_sdk_test_macros | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.rustfmt.toml | ||
Cargo.toml | ||
LICENSE | ||
Makefile | ||
README.md | ||
tarpaulin.toml |
README.md
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.