Cargo Features

[dependencies]
gamepads = { version = "0.1.7", default-features = false, features = ["android-winit", "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.

android-winit = jni, ndk-context, winit
wasm-bindgen default = js-sys, web-sys

Enables wasm-bindgen

Affects backend_web_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

Enables js-sys

feature: wasm-bindgen

web-sys wasm-bindgen
winit android-winit?

Enables winit

feature: android-winit

jni android-winit?
ndk-context android-winit?