Cargo Features
[dependencies]
x3dh-ke = { version = "0.1.5", default-features = false, features = ["bytes", "wasm"] }
- default = bytes
-
The
bytes
feature is set by default wheneverx3dh-ke
is added without
somewhere in the dependency tree.default-features = false - bytes default = bincode, serde, serde_bytes
-
serde:
Provide derive(Serialize, Deserialize) macros.
Affects
x3dh-ke::Key.to_bytes
,x3dh-ke::Key.from_bytes
… - wasm
-
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.