Cargo Features

[dependencies]
rocket_ws = { version = "0.1.1", default-features = false, features = ["tungstenite"] }
default = tungstenite

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

tungstenite default = tokio-tungstenite

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-tungstenite tungstenite

Enables tokio-tungstenite ^0.21