Cargo Features
[dependencies]
wasm-bus-ws = { version = "1.1.0", default-features = false, features = ["frontend", "sys"] }
- default = frontend
-
The
frontend
feature is set by default wheneverwasm-bus-ws
is added without
somewhere in the dependency tree.default-features = false - frontend default
- sys = futures, futures-util, tokio-tungstenite
-
Enables net, rt, rt-multi-thread and time of tokio
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.
- futures not wasm32 sys?
- futures-util not wasm32 sys?
- tokio-tungstenite not wasm32 sys?
-
Enables tokio-tungstenite ^0.16