Cargo Features
dioxus-cli has no features set by default.
[dependencies]
dioxus-cli = { version = "0.6.0-rc.0", features = ["plugin", "tokio-console", "bundle", "optimizations", "asset-opt", "wasm-opt", "cargo-config2"] }
- plugin
- tokio-console
-
Enables console-subscriber ^0.3.0
- bundle
- optimizations = asset-opt, wasm-opt
-
when releasing dioxus, we want to enable wasm-opt
and then also maybe developing it too.
making this optional cuts workspace deps down from 1000 to 500, so it's very nice for workspace adev - asset-opt optimizations?
- wasm-opt optimizations?
-
Enables wasm-opt
Features from optional dependencies
- cargo-config2 implicit feature
-
Enables cargo-config2
cargo-config2:
Load and resolve Cargo configuration