Cargo Features
[dependencies]
wasm_mouse = { version = "0.1.0", default-features = false, features = ["web-sys"] }
- default = web-sys
-
The
web-sys
feature is set by default wheneverwasm_mouse
is added without
somewhere in the dependency tree.default-features = false - web-sys default
-
enables intergration with the web-sys crate
Enables web-sys