Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop matrix-sdk in favor of ruma #545

Merged
merged 12 commits into from
Aug 28, 2024
Merged

drop matrix-sdk in favor of ruma #545

merged 12 commits into from
Aug 28, 2024

Conversation

sebadob
Copy link
Owner

@sebadob sebadob commented Aug 28, 2024

To send out Matrix notifications, Rauthy was using the matrix-sdk up until now. This crate however comes with a huge
list of dependencies and at the same time pushes too few updates. I had quite a few issues with it in the past because
it was blocking me from updating other dependencies.

To solve this issue, I decided to drop matrix-sdk in favor of ruma, which it is using under the hood anyway. With
ruma, I needed to do a bit more work myself since it's more low level, but at the same time I was able to reduce the
list of total dependencies Rauthy has by ~90 crates.

This made it possible to finally bump other dependencies and to start the internal switch
from redhac to Hiqlite for caching. At some later stage, sqlx will also be dropped (at least for SQLite) and be switched over to Hiqlite as well to provide full Raft-backed HA capabilities without any external dependencies or deployments.

@sebadob sebadob merged commit 0b50376 into main Aug 28, 2024
@sebadob sebadob deleted the migrate-matrix-sdk-to-ruma branch August 28, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant