Cargo Features

[dependencies]
ockam_abac = { version = "0.58.0", default-features = false, features = ["no_std", "std", "alloc", "repl"] }
default = std

The std feature is set by default whenever ockam_abac is added without default-features = false somewhere in the dependency tree.

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 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?
rustyline-derive repl?
sqlx std
tokio std
wast std

Enables wast ^207.0.0

winnow alloc? std