Cargo Features

[dependencies]
ockam_transport_websocket = { version = "0.120.0", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc, tokio, tokio-tungstenite

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

Enables std of ockam_core, ockam_node, and ockam_transport_core

alloc std

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

Enables alloc of ockam_core, ockam_node, ockam_transport_core, and serde

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.

tokio std
tokio-tungstenite std

Enables tokio-tungstenite ^0.23.1