Cargo Features

[dependencies]
ockam_transport_tcp = { version = "0.112.0", default-features = false, features = ["no_std", "std", "alloc"] }
default = std

The std feature is set by default whenever ockam_transport_tcp is added without default-features = false somewhere in the dependency tree.

no_std

Enables no_std of ockam_macros and ockam_transport_core

ockam_macros:

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

std default = opentelemetry

Enables std of ockam_macros and ockam_transport_core

ockam_macros:

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

alloc

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.

opentelemetry std