-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (57 loc) · 1.57 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "xkbcommon-rs"
version = "0.1.0"
authors = ["wysiwys"]
edition = "2021"
license-file = "LICENSE"
keywords = ["xkb", "xkbcommon", "libxkbcommon", "wayland", "keymap"]
exclude = ["README.md", ".gitignore", "benches/", "keysym_map_gen/", "scripts/", "src/test/", "test/", "target/"]
description = "a port of libxkbcommon in safe Rust"
repository = "https://github.com/wysiwys/xkbcommon-rs"
[workspace]
members = ["codegen", "keysym_map_gen"]
[features]
client = []
server = []
[profile.release]
panic = 'abort'
opt-level = 3
lto = true # link time optimization
codegen-units = 1 # reduce codegen units
strip = true # strip symbols from binary
debug = false
[dependencies]
# For atom table
indexmap = "2.2.6"
thiserror = "1.0.58"
log = "0.4.21"
bitflags = "2.4.2"
xkeysym = "0.2.1"
# for AccessFlags
nix = { version = "0.28.0", features = ["fs"] }
# for perfect ordered maps with caseless lookups
unicase = "2.7.0"
phf = { version = "0.11.2", features = ["macros", "unicase"] }
phf_shared = "0.11.2"
# for parser
logos = "0.14.0"
lalrpop-util = { version = "0.20.0", features = ["lexer"] }
# for enum counts and iterations
strum = "0.26.2"
strum_macros = "0.26.2"
[build-dependencies]
lalrpop = "0.20.0"
xkbcommon-rs-codegen = { path = "codegen", version = "0.1.0" }
[dev-dependencies]
icu_casemap = "1.4.0"
#gettext-rs = "0.7.0"
evdev = "0.12.1"
xkbcommon = "0.7.0"
criterion = { version = "0.5.1", features=["html_reports"] }
simplelog = "0.12.2"
#[[bench]]
#name = "rulescomp"
#harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]