Cargo Features

[dependencies]
ockam_vault_sync_core = { version = "0.42.0", default-features = false, features = ["software_vault", "std", "no_std", "alloc"] }
default = std

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

software_vault = ockam_vault
std default = alloc

Feature (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.50.0, ockam_macros ^0.11.0, ockam_node ^0.50.0, and ockam_vault ^0.43.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.50.0, ockam_macros ^0.11.0, ockam_node ^0.50.0, and ockam_vault ^0.43.0

alloc std

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

Enables alloc of ockam_core ^0.50.0, ockam_node ^0.50.0, ockam_vault ^0.43.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_vault alloc? no_std? software_vault? std

Enables ockam_vault ^0.43.0

rand_pcg no_std?