Cargo Features

[dependencies]
olm-rs = { version = "2.2.0", default-features = false, features = ["deserialization"] }
default = deserialization

The deserialization feature is set by default whenever olm-rs is added without default-features = false somewhere in the dependency tree.

deserialization default = serde, serde_json

Affects account::IdentityKeys, account::FallbackKey, account::OneTimeKeys

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.

serde deserialization
serde_json deserialization