Cargo Features
[dependencies]
matrix-sdk-sql = { version = "0.1.0-beta.2", default-features = false, features = ["native-tls", "rustls", "postgres", "sqlite", "e2e-encryption", "ci"] }
- default = native-tls, postgres
-
These default features are set whenever
matrix-sdk-sql
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables runtime-tokio-native-tls of sqlx ^0.5.13
- rustls
-
Enables runtime-tokio-rustls of sqlx ^0.5.13
- postgres default
-
Enables postgres of sqlx ^0.5.13
- sqlite
-
Enables sqlite of sqlx ^0.5.13
- e2e-encryption = bincode, dashmap, educe, matrix-sdk-crypto, matrix-sdk-store-encryption, parking_lot, serde, serde_json
-
Enables e2e-encryption of matrix-sdk-base ^0.5.0
Affects
helpers::SupportedDatabase.session_store_query
,helpers::SupportedDatabase.olm_message_hash_store_query
,helpers::SupportedDatabase.inbound_group_session_upsert_query
,helpers::SupportedDatabase.outbound_group_session_store_query
,helpers::SupportedDatabase.gossip_request_store_query
,helpers::SupportedDatabase.identity_upsert_query
,helpers::SupportedDatabase.device_upsert_query
,helpers::SupportedDatabase.device_delete_query
,helpers::SupportedDatabase.sessions_for_user_query
,helpers::SupportedDatabase.inbound_group_session_fetch_query
,helpers::SupportedDatabase.inbound_group_sessions_fetch_query
,helpers::SupportedDatabase.outbound_group_session_load_query
,helpers::SupportedDatabase.tracked_user_upsert_query
,helpers::SupportedDatabase.device_fetch_query
,helpers::SupportedDatabase.devices_for_user_query
,helpers::SupportedDatabase.tracked_users_fetch_query
… - ci
-
Internal feature used by ci builds
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.
- bincode e2e-encryption?
- dashmap e2e-encryption?
-
Enables dashmap ^5.2.0
- matrix-sdk-crypto e2e-encryption?
-
Enables matrix-sdk-crypto ^0.5.0
- matrix-sdk-store-encryption e2e-encryption?
- parking_lot e2e-encryption?
- serde e2e-encryption?
- serde_json e2e-encryption?
- educe e2e-encryption?
-
Enables educe ^0.4.19