[dependencies.log]
version = "0.4.1"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.uuid]
version = "1.0.0"
[dev-dependencies.env_logger]
version = "0.11.5"
[[example]]
name = "ev_core"
path = "examples/ev_core.rs"
[features]
default = ["wgi"]
serde-serialize = ["serde"]
wgi = ["windows"]
xinput = ["rusty-xinput", "winapi"]
[lib]
name = "gilrs_core"
path = "src/lib.rs"
[package]
authors = ["Mateusz Sieczko <arvamer@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["game-engines"]
description = "Minimal event-based abstraction for working with gamepads"
documentation = "https://docs.rs/gilrs-core/"
edition = "2021"
keywords = ["gamepad", "joystick", "input"]
license = "Apache-2.0/MIT"
name = "gilrs-core"
readme = "README.md"
repository = "https://gitlab.com/gilrs-project/gilrs"
rust-version = "1.73.0"
version = "0.6.0"
[package.metadata.docs.rs]
features = ["serde"]
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))'.dependencies.inotify]
default-features = false
version = "0.11.0"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))'.dependencies.libc]
version = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))'.dependencies.libudev-sys]
version = "0.1.4"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))'.dependencies.nix]
default-features = false
features = ["ioctl", "event"]
version = "0.29.0"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))'.dependencies.vec_map]
version = "0.8"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["Gamepad", "GamepadButton", "GamepadMappingType", "Window", "Navigator", "DomException"]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.0"
[target.'cfg(target_os = "macos")'.dependencies.io-kit-sys]
version = "0.4.1"
[target.'cfg(target_os = "macos")'.dependencies.vec_map]
version = "0.8"
[target.'cfg(target_os = "windows")'.dependencies.rusty-xinput]
optional = true
version = "1.2.0"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
features = ["xinput"]
optional = true
version = "0.3.4"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Gaming_Input", "Foundation_Collections", "Devices_Power", "System_Power", "Gaming_Input_ForceFeedback"]
optional = true
version = ">=0.44, <=0.58"