Cargo Features

[dependencies]
ockam_key_exchange_x3dh = { version = "0.71.0", default-features = false, features = ["std", "no_std", "alloc"] }
default = std

The std feature is set by default whenever ockam_key_exchange_x3dh is added without default-features = false somewhere in the dependency tree.

std default = alloc

Feature: (enabled by default): "std" enables functionality expected to be available on a standard platform.

Enables std of hex, ockam_core ^0.76.0, and ockam_macros ^0.27.0

no_std

Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.

Enables no_std of ockam_core ^0.76.0 and ockam_macros ^0.27.0

alloc std

Feature: "alloc" enables support for heap allocation (implied by feature = "std")

Enables alloc of hex, ockam_core ^0.76.0, and ockam_macros ^0.27.0