Cargo Features

[dependencies]
ockam_channel = { version = "0.72.0", default-features = false, features = ["software_vault", "noise_xx", "std", "no_std", "alloc"] }
default = std

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

software_vault = ockam_vault
noise_xx = ockam_key_exchange_xx
std default = alloc

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

Enables std and std_rng of rand, std of ockam_core ^0.72.0, ockam_key_exchange_core ^0.63.0, ockam_key_exchange_xx ^0.68.0, ockam_macros ^0.26.0, ockam_node ^0.75.0, and ockam_vault ^0.68.0

no_std = rand_pcg

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

Enables no_std of ockam_core ^0.72.0, ockam_key_exchange_core ^0.63.0, ockam_key_exchange_xx ^0.68.0, ockam_macros ^0.26.0, ockam_node ^0.75.0, and ockam_vault ^0.68.0

alloc std

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

Enables alloc of ockam_core ^0.72.0, ockam_key_exchange_core ^0.63.0, ockam_key_exchange_xx ^0.68.0, ockam_node ^0.75.0, ockam_vault ^0.68.0, and serde

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.

ockam_key_exchange_xx alloc? no_std? noise_xx? std

Enables ockam_key_exchange_xx ^0.68.0

ockam_vault alloc? no_std? software_vault? std

Enables ockam_vault ^0.68.0

rand_pcg no_std?