Cargo Features
[dependencies]
ockam_executor = { version = "0.89.0", default-features = false, features = ["std", "alloc", "no_std"] }
- default = std
-
The
std
feature is set by default wheneverockam_executor
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Feature (enabled by default): "std" enables functionality expected to be available on a standard platform.
Enables std of futures and ockam_core
- alloc std
-
Feature: "alloc" enables support for heap allocation (implied by
feature = "std"
)Enables alloc of futures and ockam_core
- no_std
-
Feature: "no_std" enables functionality required for platforms without the standard library, requires nightly.
Enables no_std of ockam_core