Cargo Features
[dependencies]
ockam_vault = { version = "0.124.0", default-features = false, features = ["OCKAM_XX_25519_AES256_GCM_SHA256", "OCKAM_XX_25519_ChaChaPolyBLAKE2s", "aws-lc", "rust-crypto", "std", "no_std", "alloc", "storage"] }
- default = rust-crypto, 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
- aws-lc
-
Enables aws-lc-rs =1.9
- rust-crypto default
-
Enables aes-gcm
- std default = alloc, storage
-
Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.
Enables std of optional aes-gcm, ed25519-dalek, ockam_macros, ockam_node, p256, and tracing
p256:
ECDSA providers:
- no_std = rand_pcg
-
Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.
Enables serde, no_std of ockam_node, heapless and stream of optional aes-gcm
- 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 ed25519-dalek, ockam_node, and optional aes-gcm
- 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.