fork/livesplit-core

git clone https://git.julia.blue/fork/livesplit-core

Christopher SerrClean up for Rust 1.63 (#549)623ae0a

master
1.6 KiB39 linesraw
1[package]
2name = "livesplit-hotkey"
3version = "0.6.0"
4authors = ["Christopher Serr <christopher.serr@gmail.com>"]
5documentation = "https://docs.rs/livesplit-hotkey/"
6repository = "https://github.com/LiveSplit/livesplit-core/tree/master/crates/livesplit-hotkey"
7license = "Apache-2.0/MIT"
8description = "livesplit-hotkey provides cross-platform global hotkey hooks."
9keywords = ["speedrun", "timer", "livesplit", "hotkey", "keyboard"]
10edition = "2018"
11
12[target.'cfg(windows)'.dependencies]
13winapi = { version = "0.3.2", features = [
14    "libloaderapi",
15    "processthreadsapi",
16    "winuser"
17], optional = true }
18
19[target.'cfg(target_os = "linux")'.dependencies]
20evdev = { version = "=0.11.4", optional = true }
21mio = { version = "0.8.0", default-features = false, features = ["os-ext", "os-poll"], optional = true }
22promising-future = { version = "0.2.4", optional = true }
23
24[target.'cfg(target_os = "macos")'.dependencies]
25bitflags = { version = "1.2.1", optional = true }
26
27[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
28wasm-bindgen = { version = "0.2.54", optional = true }
29web-sys = { version = "0.3.28", default-features = false, features = ["Gamepad", "GamepadButton", "EventTarget", "KeyboardEvent", "Navigator", "Window"], optional = true }
30
31[dependencies]
32cfg-if = "1.0.0"
33serde = { version = "1.0.98", default-features = false, features = ["derive", "alloc"] }
34snafu = { version = "0.7.0", default-features = false }
35
36[features]
37default = ["std"]
38std = ["snafu/std", "serde/std", "evdev", "mio", "promising-future", "winapi", "bitflags"]
39wasm-web = ["wasm-bindgen", "web-sys"]