Fork of github.com/matrix-org/matrix-rust-sdk
eeebb43e32
The `update_profile` method cannot live in `RoomMember` since that operation needs information which only exists in `Room` (for instance, it needs other members in order to perform display name disambiguation). Leaving other mutating methods on `RoomMember` (like `update_power` and `update_presence`) then seemed illogical so they were all moved into `Room`. In addition, a small refactoring was done to remove `did_update_presence` and `update_presence` since their existence doesn't make much sense anymore and it saves us from repeating work. Their function is now done in `receive_presence_event`. Also, several docstrings were corrected and reworded. |
||
---|---|---|
matrix_sdk | ||
matrix_sdk_base | ||
matrix_sdk_common | ||
matrix_sdk_common_macros | ||
matrix_sdk_crypto | ||
matrix_sdk_test | ||
matrix_sdk_test_macros | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.travis.yml | ||
Cargo.toml | ||
design.md | ||
LICENSE | ||
Makefile | ||
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.