Cargo Features

[dependencies]
dioxus-web = { version = "0.6.1", default-features = false, features = ["hydrate", "mounted", "file_engine", "devtools", "document"] }
default = devtools, document, file_engine, mounted

These default features are set whenever dioxus-web is added without default-features = false somewhere in the dependency tree.

hydrate = ciborium

Enables serde and web-sys

mounted default

Enables mounted of dioxus-html, DomRect, Element, ScrollBehavior, ScrollIntoViewOptions and ScrollLogicalPosition of web-sys

file_engine default

Enables async-trait, file_engine of dioxus-html, File, FileList and FileReader of web-sys

devtools default

Enables serde and serde_json, serialize of dioxus-core, Location, MessageEvent and WebSocket of web-sys

document default

Enables serde, serde-wasm-bindgen ^0.5.0, and serde_json

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.

ciborium hydrate?