Cargo Features
[dependencies]
ockam_vault = { version = "0.106.0", default-features = false, features = ["OCKAM_XX_25519_AES256_GCM_SHA256", "OCKAM_XX_25519_ChaChaPolyBLAKE2s", "std", "no_std", "alloc", "storage", "thiserror"] }
- default = std, storage
-
These default features are set whenever
ockam_vault
is added without
somewhere in the dependency tree.default-features = false - disable_default_noise_protocol OCKAM_XX_25519_AES256_GCM_SHA256
- OCKAM_XX_25519_AES128_GCM_SHA256 OCKAM_XX_25519_ChaChaPolyBLAKE2s
- std default = alloc, storage
-
Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.
Enables alloc and std of aes-gcm, std and std_rng of rand, std of tracing and std of ed25519-dalek, ockam_macros, ockam_node, and p256
p256:
ECDSA providers:
- no_std = rand_pcg
-
Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.
Enables serde, heapless and stream of aes-gcm, no_std of ockam_node
- alloc std
-
Feature: "alloc" enables support for heap allocation (implied by
feature = "std"
)Enables alloc, ecdsa and pem of p256, alloc of x25519-dalek, alloc of aes-gcm, ed25519-dalek, and ockam_node
- storage default std = sqlx
-
Enables storage of 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.