Cargo Features
[dependencies]
ockam_abac = { version = "0.73.0", default-features = false, features = ["no_std", "std", "alloc", "repl"] }
- default = std
-
The
std
feature is set by default wheneverockam_abac
is added without
somewhere in the dependency tree.default-features = false - no_std = ockam_executor
-
Enables no_std of ockam_core and ockam_identity
ockam_core:
Feature: "no_std" enables functionality required for platforms without the standard library.
- std default repl? = regex, sqlx, tokio, wast, winnow
-
Enables use_std of either and std of minicbor, ockam_core, ockam_identity, ockam_node, once_cell, serde, strum, and tracing
ockam_core:
Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.
- alloc
-
Enables winnow and alloc of minicbor, ockam_core, and ockam_identity
ockam_core:
Feature: "alloc" enables support for heap allocation (implied by
feature = "std"
) - repl = rustyline, rustyline-derive, std
-
Required by the repl binary
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_executor no_std?
-
Enables ockam_executor
optional:
- regex std
- rustyline repl?
-
Enables rustyline ^14.0.0
- rustyline-derive repl?
-
Enables rustyline-derive ^0.10.0
- sqlx std
- tokio std
- wast std
-
Enables wast ^219.0.1
- winnow alloc? std