tvallotton / rocket_auth

An implementation for an authentication API for Rocket applications.
https://docs.rs/rocket_auth/
Apache License 2.0
73 stars 38 forks source link

Feat: Redis Stack as a Persistant Data Storage. #58

Open tehsunnliu opened 1 year ago

tehsunnliu commented 1 year ago

Hi, I recently came across Redis Stack, which can also be used to store permanent data. And I was wondering like MySQL, PostgreSQL, and SQLite, which are supported by this repository, is it also possible to support Redis Stack as well? If it is possible please let me know where can I start. I would like to contribute in adding this feature to this repo.

From what I've seen till now is we can add it as a feature called rustis (A Redis Client package that supports Redis Stack) like other features [mysql, postgres, redis, sqlite] and add all the user-related queries using Redis Search.

or

Add the Redis Stack support in [redis] feature itself. This will actually enable users to use the full Redis Stack instead of using Redis for caching and SQLite for storing permanent data.

Please let me know your thoughts. Thank you.