sebadob / rauthy

OpenID Connect Single Sign-On Identity & Access Management
https://sebadob.github.io/rauthy/
Apache License 2.0
297 stars 15 forks source link

drop `matrix-sdk` in favor of `ruma` #545

Closed sebadob closed 2 weeks ago

sebadob commented 2 weeks ago

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.