1d7d6c943b
I believe that it is a footgun to cache the data indefinitely by default so this copies the same behavior as for the supported versions in the ClientCaches: it sets an expiry duration of 1 day and refreshes the data in the background when it has expired. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This crate implements the base to build a Matrix client library.
Crate Feature Flags
The following crate feature flags are available:
encryption: Enables end-to-end encryption support in the library.qrcode: Enables QRcode generation and reading code.testing: Provides facilities and functions for tests, in particular for integration testing store implementations. ATTENTION: do not ever use outside of tests, we do not provide any stability warantees on these, these are merely helpers. If you find you need any function provided here outside of tests, please open a Github Issue and inform us about your use case for us to consider.