Cargo Features

[dependencies]
ockam = { version = "0.141.0", default-features = false, features = ["software_vault", "storage", "OCKAM_XX_25519_AES256_GCM_SHA256", "OCKAM_XX_25519_AES128_GCM_SHA256", "OCKAM_XX_25519_ChaChaPolyBLAKE2s", "aws-lc", "rust-crypto", "std", "no_std", "alloc", "debugger", "ockam_transport_tcp", "ockam_transport_udp"] }
default = ockam_transport_tcp, ockam_transport_udp, rust-crypto, 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

aws-lc

Enables aws-lc of ockam_identity, optional ockam_transport_tcp, and optional ockam_vault

rust-crypto default

Enables rust-crypto of ockam_identity, ring of optional ockam_transport_tcp, rust-crypto of optional ockam_vault

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, ockam_transport_core, ockam_vault, optional ockam_transport_tcp, and optional ockam_transport_udp

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, ockam_transport_core, 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_transport_core, 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

Affects ockam::tcp

ockam_transport_udp default

Affects ockam::udp

ockam_vault alloc? no_std? std

Affects ockam::vault