Cargo Features

[dependencies]
asteroid-mq-sdk = { version = "0.1.0-alpha.13", default-features = false, features = ["ws", "local"] }
default = ws

The ws feature is set by default whenever asteroid-mq-sdk is added without default-features = false somewhere in the dependency tree.

ws default = tokio-tungstenite

Affects connection::ws2

local = asteroid-mq

Affects connection::tokio_channel_socket

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.

asteroid-mq local?
tokio-tungstenite ws

Enables tokio-tungstenite ^0.24