forked from jtroo/kanata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (49 loc) · 1.4 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "kanata"
version = "1.2.0-prerelease-1"
authors = ["jtroo <[email protected]>"]
description = "Multi-layer keyboard customization"
keywords = ["cli", "linux", "windows", "keyboard", "layout"]
categories = ["command-line-utilities"]
homepage = "https://github.com/jtroo/kanata"
repository = "https://github.com/jtroo/kanata"
readme = "README.md"
license = "LGPL-3.0"
edition = "2021"
[dependencies]
clap = { version = "3", features = [ "derive" ] }
log = "0.4.8"
simplelog = "0.12.0"
anyhow = "1"
parking_lot = "0.12"
crossbeam-channel = "0.5"
once_cell = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
net2 = "0.2"
radix_trie = "0.2"
rustc-hash = "1.1.0"
kanata-keyberon = "0.6.1"
# Uncomment below and comment out above for testing local keyberon changes
# kanata-keyberon = { path = "keyberon" }
[target.'cfg(target_os = "linux")'.dependencies]
evdev = "0.12.0"
signal-hook = "0.3.14"
inotify = "0.10.0"
mio = { version = "0.8.4", features = ["os-poll", "os-ext"] }
nix = { version = "0.26.1", features = ["ioctl"] }
[target.'cfg(target_os = "windows")'.dependencies]
encode_unicode = "0.3.6"
winapi = { version = "0.3.9", features = [
"wincon",
"timeapi",
"mmsystem",
] }
native-windows-gui = "1.0.12"
interception = { version = "0.1.2", optional = true }
[features]
cmd = []
interception_driver = [ "interception" ]
[profile.release]
opt-level = "z"
lto = "fat"