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 whenever wasm-bus-ws is added without default-features = false somewhere in the dependency tree.

frontend default

Enables syscalls of wasm-bus

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