Cargo Features

[dependencies]
ockam = { version = "0.122.0", default-features = false, features = ["software_vault", "storage", "OCKAM_XX_25519_AES256_GCM_SHA256", "OCKAM_XX_25519_AES128_GCM_SHA256", "OCKAM_XX_25519_ChaChaPolyBLAKE2s", "std", "no_std", "alloc", "debugger", "ockam_transport_tcp"] }
default = ockam_transport_tcp, std, storage

These default features are set whenever ockam is added without default-features = false somewhere in the dependency tree.

software_vault

Enables software_vault of ockam_identity

storage default

Enables storage of ockam_identity

Affects ockam::vault.storage, node::node

OCKAM_XX_25519_AES256_GCM_SHA256

Enables OCKAM_XX_25519_AES256_GCM_SHA256 of ockam_identity

OCKAM_XX_25519_AES128_GCM_SHA256

Enables OCKAM_XX_25519_AES128_GCM_SHA256 of ockam_identity

OCKAM_XX_25519_ChaChaPolyBLAKE2s

Enables OCKAM_XX_25519_ChaChaPolyBLAKE2s of ockam_identity

std default = alloc

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

Enables rand, std of serde, std of ockam_abac, ockam_core, ockam_identity, ockam_macros, ockam_node, and ockam_vault

no_std

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

Enables no_std of ockam_abac, ockam_core, ockam_identity, ockam_macros, ockam_node, and ockam_vault

alloc std

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

Enables alloc of ockam_core, ockam_identity, ockam_node, ockam_vault, and serde

debugger

Feature: "debugger" enables functionality to trace addresses and message flows within Ockam apps.

Enables debugger of ockam_core and ockam_node

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_abac no_std? std
ockam_transport_tcp default
ockam_vault alloc? no_std? std

Affects ockam::vault