-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
31 lines (25 loc) · 981 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
authors = ["HactarCE"]
description = "Platform-aware keyboard key name handling for Rust applications"
repository = "https://github.com/HactarCE/key-names"
license = "MIT OR Apache-2.0"
categories = ["game-development", "gui", "internationalization", "os"]
keywords = ["keyboard", "keylayout", "keymap", "scancode", "input"]
name = "key-names"
version = "1.5.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cty = "0.2"
keycode = "0.4"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["winuser"] }
[target.'cfg(target_os = "linux")'.dependencies]
thiserror = "1.0"
xkbcommon = { version = "0.4.1", features = ["x11", "wayland"] }
xcb = "0.9.0"
wayland-client = "0.29"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
winit = { version = "0.27", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
winit = { version = "0.27" }