Cargo Features

ockam_macros has no features set by default.

ockam_macros = { version = "0.34.0", features = ["std", "alloc", "no_std"] }
std = alloc

Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.

alloc std?

Feature: "alloc" enables support for heap allocation (implied by feature = "std")


Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.