# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "gamepads" version = "0.1.6" description = "Library to access information about connected gamepads." readme = "README.md" keywords = [ "gamedev", "joystick", "input", "gamepad", "macroquad", ] categories = ["game-development"] license = "MIT OR Apache-2.0" repository = "https://github.com/fornwall/gamepads" [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.js-sys] version = "0.3" optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.web-sys] version = "0.3" features = [ "Gamepad", "GamepadButton", "GamepadMappingType", "Window", "Navigator", ] optional = true [features] default = ["wasm-bindgen"] wasm-bindgen = [ "dep:wasm-bindgen", "web-sys", "js-sys", ] [target."cfg(not(target_family = \"wasm\"))".dependencies.gilrs] version = "0.10"