Cargo Features
ockam_macros has no features set by default.
[dependencies]
ockam_macros = { version = "0.35.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"
) - no_std
-
Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.