Cargo Features
xtask-wasm has no features set by default.
[dependencies]
xtask-wasm = { version = "0.2.2", features = ["run-example", "sass", "wasm-opt"] }
- run-example = console_error_panic_hook, env_logger, wasm-bindgen, xtask-wasm-run-example
- sass = sass-rs, walkdir
-
Affects
dist::Dist.sass_options
… - wasm-opt = binary-install
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.
- xtask-wasm-run-example run-example?
- binary-install not wasm32 wasm-opt?
-
Enables binary-install ^0.0.2
- console_error_panic_hook wasm32 run-example?
- env_logger not wasm32 run-example?
-
Enables env_logger ^0.10.0
- sass-rs not wasm32 sass?
- walkdir not wasm32 sass?
- wasm-bindgen wasm32 run-example?