Cargo Features
[dependencies]
ockam_abac = { version = "0.79.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, sqlx-core, tokio, wast, winnow
-
Enables std of minicbor ^0.25.1, ockam_core, ockam_identity, ockam_node, once_cell, serde, strum ^0.26.3, and tracing and use_std of either
either:
deprecated alias
- alloc
-
Enables winnow ^0.6.25 and alloc of minicbor ^0.25.1, 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
- sqlx-core std
- tokio std
- wast std
-
Enables wast ^220.0.0
- winnow alloc? std
-
Enables winnow ^0.6.25