Cargo Features
[dependencies]
dioxus-html = { version = "0.6.0-alpha.5", default-features = false, features = ["serialize", "mounted", "file_engine", "hot-reload-context", "html-to-rsx", "js-sys", "tokio"] }
- default = file_engine, mounted, serialize
-
These default features are set whenever
dioxus-html
is added without
somewhere in the dependency tree.default-features = false - serialize default
-
Enables serde, serde_json, and serde_repr, serialize of dioxus-core, serde of euclid and keyboard-types
Affects
animation::SerializedAnimationData
,clipboard::SerializedClipboardData
,composition::SerializedCompositionData
,drag::SerializedDragData
,focus::SerializedFocusData
,form::SerializedFormData
,image::SerializedImageData
,keyboard::SerializedKeyboardData
,media::SerializedMediaData
,mouse::SerializedMouseData
,pointer::SerializedPointerData
,resize::SerializedResizeData
,scroll::SerializedScrollData
,selection::SerializedSelectionData
,toggle::SerializedToggleData
,touch::SerializedTouchData
,transition::SerializedTransitionData
,wheel::SerializedWheelData
,point_interaction::SerializedPointInteraction
,transit::HtmlEvent
… - mounted default
- file_engine default
-
Enables async-trait
Affects
file_data::HasFileData.files
,file_data::FileEngine
,file_data::SerializedFileEngine
… - hot-reload-context
-
Enables dioxus-rsx
- html-to-rsx