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 wheneverasteroid-mq-sdk
is added without
somewhere in the dependency tree.default-features = false - 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.