Cargo Features
[dependencies]
dioxus-fullstack = { version = "0.7.2", default-features = false, features = ["web", "native", "server", "postcard", "msgpack", "ws"] }
- default = ws
-
The
wsfeature is set by default wheneverdioxus-fullstackis added withoutsomewhere in the dependency tree.default-features = false - web
-
Enables web-sys
websocket stuff
[target.'cfg(target_arch = "wasm32")'.dependencies] - native
- server
-
Enables async-tungstenite ^0.31.0, tokio and ws of axum and axum-extra ^0.10.1, inventory, tokio, tokio-stream, tokio-tungstenite ^0.27.0, tower, tower-http, tower-layer, and tungstenite ^0.27
axum-extra:
server deps
Affects
websocket::TypedWebsocket… - postcard
-
Enables postcard
payloads
Affects
encoding::PostcardEncoding,dioxus-fullstack::payloads.postcard… - msgpack
-
Enables rmp-serde
Affects
encoding::MsgPackEncoding,dioxus-fullstack::payloads.msgpack… - ws default
-
Enables async-tungstenite ^0.31.0 and tungstenite ^0.27
Affects
dioxus-fullstack::payloads.websocket…