Cargo Features

[dependencies]
ockam_abac = { version = "0.55.0", default-features = false, features = ["no_std", "std", "alloc", "repl", "rusqlite"] }
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

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 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
rusqlite implicit feature

Enables rusqlite ^0.30.0

rusqlite:

Ergonomic wrapper for SQLite

rustyline repl?
rustyline-derive repl?
sqlx std
tokio std
wast std

Enables wast ^202.0.0