Cargo Features
[dependencies]
ockam_vault_core = { version = "0.35.0", default-features = false, features = ["bls", "std", "no_std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverockam_vault_core
is added without
somewhere in the dependency tree.default-features = false - bls
- std default = alloc
-
Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.
Enables std of ockam_core ^0.41.0
- no_std = heapless
-
Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.
Enables no_std of ockam_core ^0.41.0
- alloc std
-
Feature: "alloc" enables support for heap allocation (implied by
feature = "std"
)Enables alloc of ockam_core ^0.41.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.
- heapless no_std?
-
Enables heapless ^0.7