Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (64 loc) · 1.72 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (64 loc) · 1.72 KB
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
[workspace]
resolver = "2"
members = [
"crates/leyen-model",
"crates/leyen-core",
"crates/leyen-ipc",
"crates/leyend",
"crates/leyen",
"crates/leyen-gtk",
]
[workspace.package]
version = "0.10.3"
authors = ["sachesi <xsachesi@pm.me>"]
edition = "2024"
rust-version = "1.92"
license = "GPL-3.0-or-later"
repository = "https://github.com/sachesi/leyen"
publish = false
[workspace.dependencies]
# Internal crates
leyen-model = { path = "crates/leyen-model" }
leyen-core = { path = "crates/leyen-core" }
leyen-ipc = { path = "crates/leyen-ipc" }
# GUI
gtk4 = { version = "0.11", features = ["v4_22"] }
libadwaita = { version = "0.9", features = ["v1_9"] }
glib-build-tools = "0.22"
# The window logs through GLib, whose G_MESSAGES_DEBUG the desktop already honours.
glib = { version = "0.22", features = ["log"] }
# Serialization / config
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "1.1"
# D-Bus
zbus = { version = "5", default-features = false, features = ["tokio"] }
zvariant = "5"
# Runtime / async
tokio = { version = "1.52.1", features = ["full"] }
futures = "0.3.32"
futures-util = "0.3.32"
async-channel = "2.5.0"
crossbeam-channel = "0.5"
# Utilities
uuid = { version = "1.23.0", features = ["v4"] }
libc = "0.2"
shlex = "2.0"
directories = "6.0.0"
clap = { version = "4.6.1", features = ["derive"] }
anyhow = "1.0.102"
thiserror = "2.0.18"
log = "0.4.29"
fastrand = "2.4.1"
sha2 = "0.11"
hex = "0.4.3"
chrono = "0.4"
gettext-rs = { version = "0.8", features = ["gettext-system"] }
# Icon extraction (GUI only)
image = { version = "0.25", default-features = false, features = ["ico", "jpeg", "png"] }
pelite = "0.10"
# Dev
tempfile = "3.27.0"
[profile.release]
lto = "thin"
codegen-units = 1