Cargo Features

[dependencies]
gamepads = { version = "0.1.6", default-features = false, features = ["wasm-bindgen"] }
default = wasm-bindgen

The wasm-bindgen feature is set by default whenever gamepads is added without default-features = false somewhere in the dependency tree.

wasm-bindgen default = js-sys, web-sys

Enables wasm-bindgen

Affects wasm_bindgen::play_effect

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.

js-sys wasm-bindgen
web-sys wasm-bindgen