Cargo Features
[dependencies]
dioxus-hot-reload = { version = "0.6.0-alpha.2", default-features = false, features = ["client", "serve", "dioxus-html", "notify", "chrono", "execute", "once_cell", "ignore"] }
- 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 - client
-
Enables dioxus-signals
- serve
-
Enables dioxus-cli-config, futures-util, tokio, tokio-stream, and tokio-tungstenite ^0.23.1
tokio-stream:
hot reloading serve
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.
- dioxus-html default
- notify implicit feature
-
Enables notify ^6.1.1
notify:
Cross-platform filesystem notification library
- chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
- execute implicit feature
-
Enables execute
execute:
A library for extending
Command
in order to execute programs more easily - once_cell implicit feature
-
Enables once_cell
once_cell:
Single assignment cells and lazy values
- ignore implicit feature
-
Enables ignore
ignore:
A fast library for efficiently matching ignore files such as
.gitignore
against file paths