Cargo Features
[dependencies]
matrix-sdk-indexeddb = { version = "0.16.0", default-features = false, features = ["event-cache-store", "media-store", "state-store", "e2e-encryption", "experimental-encrypted-state-events", "testing"] }
- default = e2e-encryption, event-cache-store, state-store
-
These default features are set whenever
matrix-sdk-indexeddbis added withoutsomewhere in the dependency tree.default-features = false - event-cache-store default = media-store
-
Enables matrix-sdk-base
Affects
error::AsyncErrorDeps,serializer::indexed_type… - media-store event-cache-store
-
Enables matrix-sdk-base
Affects
error::AsyncErrorDeps,serializer::indexed_type… - state-store default = growable-bloom-filter
-
Enables matrix-sdk-base
Affects
matrix-sdk-indexeddb::open_state_store,matrix-sdk-indexeddb::open_stores_with_name… - e2e-encryption default
-
Enables matrix-sdk-base and matrix-sdk-crypto
Affects
serializer::foreign,safe_encode::types,matrix-sdk-indexeddb::open_stores_with_name,serializer::indexed_type… - experimental-encrypted-state-events
-
Enables experimental-encrypted-state-events of optional matrix-sdk-crypto
matrix-sdk-crypto:
Enable experimental support for encrypting state events; see https://github.com/matrix-org/matrix-rust-sdk/issues/5397.
- testing
-
Enables testing of optional matrix-sdk-crypto
matrix-sdk-crypto:
Testing helpers for implementations based upon this
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.