Cargo Features

[dependencies]
x3dh-ke = { version = "0.1.5", default-features = false, features = ["bytes", "wasm"] }
default = bytes

The bytes feature is set by default whenever x3dh-ke is added without default-features = false somewhere in the dependency tree.

bytes default = bincode, serde, serde_bytes

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects x3dh-ke::Key.to_bytes, x3dh-ke::Key.from_bytes

wasm

Enables js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

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 bytes
bincode bytes
serde_bytes bytes