Cargo Features
[dependencies]
we_clap = { version = "0.1.0", default-features = false, features = ["web-alert", "web-console"] }
- default = web-console
-
The
web-console
feature is set by default wheneverwe_clap
is added without
somewhere in the dependency tree.default-features = false - web-alert
-
output to a popup alert on web/wasm
- web-console default
-
output to a popup alert on web/wasm