Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindings/matrix-sdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ crate-type = [
]

[features]
default = ["bundled-sqlite", "unstable-msc4274", "experimental-element-recent-emojis"]
default = ["unstable-msc4274", "experimental-element-recent-emojis"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? Can't you use --no-default-features to get the feature set you'd want/need on Wasm?

Therefor we probably
shouldn't have it as the default since indexeddb support was added.

Why not? The defaults are here to serve the most common use-case. Having only the memory store by default seems like a worse situation.

The matrix-sdk crate also enables SQLite support by default, even though it ~always supported IndexedDB.

# Use SQLite for the session storage.
sqlite = ["matrix-sdk/sqlite"]
# Use an embedded version of SQLite.
Expand Down