Cargo Features
[dependencies]
websocket_toolkit = { version = "0.2.0", default-features = false, features = ["serde", "serde_cbor", "serde_json", "tokio", "tokio-tungstenite"] }
- default = serde, serde_cbor, serde_json, tokio, tokio-tungstenite
-
These default features are set whenever
websocket_toolkit
is added without
somewhere in the dependency tree.default-features = false
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.
- serde default
- serde_cbor default
- serde_json default
- tokio default
- tokio-tungstenite default
-
Enables tokio-tungstenite ^0.15