Cargo Features

[dependencies]
ockam_entity = { version = "0.35.0", default-features = false, features = ["noise_xx", "software_vault", "lease_proto_json", "std", "no_std", "alloc", "credentials"] }
default = noise_xx, software_vault, std

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

noise_xx default = ockam_key_exchange_xx
software_vault default = ockam_vault, ockam_vault_sync_core

Enables software_vault of ockam_vault_sync_core ^0.37.0

lease_proto_json = serde_json

Affects lease::json_proto

std default

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

Enables std of ockam_channel ^0.41.0, ockam_core ^0.45.0, ockam_key_exchange_core ^0.37.0, ockam_key_exchange_xx ^0.38.0, ockam_macros ^0.6.0, ockam_node ^0.44.0, ockam_vault ^0.39.0, and ockam_vault_sync_core ^0.37.0

no_std

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

Enables no_std of ockam_channel ^0.41.0, ockam_core ^0.45.0, ockam_key_exchange_core ^0.37.0, ockam_key_exchange_xx ^0.38.0, ockam_macros ^0.6.0, ockam_node ^0.44.0, ockam_vault ^0.39.0, and ockam_vault_sync_core ^0.37.0

alloc

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

Enables alloc of ockam_channel ^0.41.0, ockam_core ^0.45.0, ockam_key_exchange_core ^0.37.0, ockam_key_exchange_xx ^0.38.0, ockam_node ^0.44.0, ockam_vault ^0.39.0, and ockam_vault_sync_core ^0.37.0

credentials = bls12_381_plus, signature_bbs_plus, signature_bls, signature_core

Feature: "credentials" enables support for the BLS signatures scheme which can be used as a building block for other more elaborate zero-knowledge capable signatures like short group signatures.

Enables bls of ockam_vault ^0.39.0

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_sync_core alloc? no_std? software_vault std

Enables ockam_vault_sync_core ^0.37.0

ockam_vault alloc? credentials? no_std? software_vault std

Enables ockam_vault ^0.39.0

ockam_key_exchange_xx alloc? no_std? noise_xx std

Enables ockam_key_exchange_xx ^0.38.0

signature_core credentials?

Enables signature_core ^0.35.0

signature_bls credentials?

Enables signature_bls ^0.33.0

signature_bbs_plus credentials?

Enables signature_bbs_plus ^0.35.0

bls12_381_plus credentials?

Enables bls12_381_plus ^0.5

serde_json lease_proto_json?