-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
94 lines (80 loc) · 2.96 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[workspace]
members = [
"crates/event-uring",
"crates/gpu-hal",
"crates/kcommon",
"crates/kerror",
"crates/keyland",
"crates/kmacro",
"crates/libio_uring",
"crates/wayland-parser",
"script/xtask"
]
resolver = "2"
[workspace.package]
authors = ["westhide <[email protected]>"]
edition = "2021"
license = "MIT"
repository = "https://github.com/westhide.dev/Keyland.git"
version = "0.1.0"
[workspace.dependencies]
# Memeber
event-uring = { path = "crates/event-uring" }
gpu-hal = { path = "crates/gpu-hal" }
kcommon = { path = "crates/kcommon" }
kerror = { path = "crates/kerror" }
keyland = { path = "crates/keyland" }
kmacro = { path = "crates/kmacro" }
libio_uring = { path = "crates/libio_uring" }
wayland-parser = { path = "crates/wayland-parser" }
# Macro
proc-macro2 = { version = "1.0.81" }
quote = { version = "1.0.33" }
syn = { version = "2.0.65", features = ["extra-traits", "full"] }
syn-select = { version = "0.3.0" }
# Release
clap = { version = "4.5.4", features = ["derive"] }
log = { version = "0.4.19" }
rkyv = { version = "0.7.44", features = ["validation"] } # TODO: package
rustix = { version = "0.38.34", features = ["event", "io_uring", "mm"] }
serde = { version = "1.0", features = ["derive"] } # TODO: package
thiserror = { version = "1.0.51" }
toml = { version = "0.8.13" } # TODO: package
toml_edit = { version = "0.22.14" }
wgpu = { version = "0.19.3" } # TODO: package
# Build
# Development
criterion = { version = "0.5.1" }
insta = { version = "1.39.0" }
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18" }
[patch.crates-io]
# ahash = { path = "contrib/aHash" }
# ptr_meta = { path = "contrib/ptr_meta/ptr_meta" }
# ptr_meta_derive = { path = "contrib/ptr_meta/ptr_meta_derive" }
# rend = { path = "contrib/rend" }
cfg-if = { path = "contrib/cfg-if" }
equivalent = { path = "contrib/equivalent" }
getrandom = { path = "contrib/getrandom" }
hashbrown = { path = "contrib/hashbrown" }
indexmap = { path = "contrib/indexmap" }
libc = { path = "contrib/libc" }
once_cell = { path = "contrib/once_cell" }
proc-macro2 = { path = "contrib/proc-macro2" }
quote = { path = "contrib/quote" }
seahash = { path = "contrib/seahash" }
simdutf8 = { path = "contrib/simdutf8" }
thiserror = { path = "contrib/thiserror" }
thiserror-impl = { path = "contrib/thiserror/impl" }
unicode-ident = { path = "contrib/unicode-ident" }
winnow = { path = "contrib/winnow" }
[workspace.lints.clippy]
# cargo = "warn"
# restriction = "warn"
as_conversions = "warn"
pedantic = "warn"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = "symbols"