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