Cargo Features
[dependencies]
dioxus-hot-reload = { version = "0.5.0", default-features = false, features = ["custom_file_watcher", "file_watcher"] }
- default = dioxus-html
-
The
dioxus-html
feature is set by default wheneverdioxus-hot-reload
is added without
somewhere in the dependency tree.default-features = false - custom_file_watcher file_watcher? = chrono, execute, ignore, notify, once_cell
- file_watcher = custom_file_watcher
-
Enables hot-reload-context of dioxus-html
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.