# 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 = "livesplit-hotkey" version = "0.7.0" authors = ["Christopher Serr "] description = "livesplit-hotkey provides cross-platform global hotkey hooks." documentation = "https://docs.rs/livesplit-hotkey/" keywords = [ "speedrun", "timer", "livesplit", "hotkey", "keyboard", ] license = "Apache-2.0/MIT" repository = "https://github.com/LiveSplit/livesplit-core/tree/master/crates/livesplit-hotkey" [dependencies.bitflags] version = "1.2.1" [dependencies.cfg-if] version = "1.0.0" [dependencies.serde] version = "1.0.98" features = [ "derive", "alloc", ] default-features = false [dependencies.snafu] version = "0.7.0" default-features = false [features] default = ["std"] std = [ "snafu/std", "serde/std", "evdev", "mio", "nix", "promising-future", "winapi", "x11-dl", ] wasm-web = [ "wasm-bindgen", "web-sys", "js-sys", ] [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys] version = "0.3.28" optional = true default-features = false [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.wasm-bindgen] version = "0.2.54" optional = true [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.web-sys] version = "0.3.28" features = [ "Gamepad", "GamepadButton", "EventTarget", "KeyboardEvent", "Navigator", "Window", ] optional = true default-features = false [target."cfg(target_os = \"linux\")".dependencies.evdev] version = "0.12.1" optional = true [target."cfg(target_os = \"linux\")".dependencies.mio] version = "0.8.0" features = [ "os-ext", "os-poll", ] optional = true default-features = false [target."cfg(target_os = \"linux\")".dependencies.nix] version = "0.26.1" features = ["user"] optional = true [target."cfg(target_os = \"linux\")".dependencies.promising-future] version = "0.2.4" optional = true [target."cfg(target_os = \"linux\")".dependencies.x11-dl] version = "2.20.0" optional = true [target."cfg(target_os = \"macos\")".dependencies.objc] version = "0.2.7" [target."cfg(windows)".dependencies.winapi] version = "0.3.2" features = [ "libloaderapi", "processthreadsapi", "winuser", ] optional = true