Cargo Features

[dependencies]
ockam_identity = { version = "0.130.0", default-features = false, features = ["software_vault", "OCKAM_XX_25519_AES256_GCM_SHA256", "OCKAM_XX_25519_AES128_GCM_SHA256", "OCKAM_XX_25519_ChaChaPolyBLAKE2s", "std", "debugger", "no_std", "alloc", "storage", "aws-lc", "rust-crypto", "serde_json"] }
default = rust-crypto, software_vault, std

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

software_vault default = ockam_vault
OCKAM_XX_25519_AES256_GCM_SHA256

Enables OCKAM_XX_25519_AES256_GCM_SHA256 and disable_default_noise_protocol of ockam_vault

OCKAM_XX_25519_AES128_GCM_SHA256

Enables OCKAM_XX_25519_AES128_GCM_SHA256 and disable_default_noise_protocol of ockam_vault

OCKAM_XX_25519_ChaChaPolyBLAKE2s

Enables OCKAM_XX_25519_ChaChaPolyBLAKE2s and disable_default_noise_protocol of ockam_vault

std default = alloc, storage

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

Enables std of chrono, hex, minicbor, ockam_core, ockam_macros, ockam_node, ockam_vault, and serde_bare

debugger

Enables debugger of ockam_core

ockam_core:

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

no_std

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

Enables no_std of ockam_core, ockam_macros, ockam_node, and ockam_vault

alloc std

Feature: "alloc" enables support for heap allocation on "no_std"
platforms, requires nightly.

Enables serde_bare, alloc of hex, minicbor, ockam_core, ockam_node, and ockam_vault

storage std = sqlx, tokio-retry

Enables storage of ockam_vault

Affects identities_builder::identities, identities_builder::create, secure_channels_builder::secure_channels

aws-lc

Enables aws-lc of optional ockam_vault

rust-crypto default

Enables rust-crypto of optional ockam_vault

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_vault OCKAM_XX_25519_AES128_GCM_SHA256? OCKAM_XX_25519_AES256_GCM_SHA256? OCKAM_XX_25519_ChaChaPolyBLAKE2s? alloc? no_std? software_vault std storage?
serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

sqlx storage?
tokio-retry storage?