-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (63 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
74 lines (63 loc) · 2.01 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
[package]
name = "wayscriber"
version = "0.9.16"
edition = "2024"
description = "Screen annotation tool for Wayland compositors"
homepage = "https://wayscriber.com"
repository = "https://github.com/devmobasa/wayscriber"
[workspace]
members = ["configurator"]
default-members = ["."]
[dependencies]
# Wayland
wayland-client = "0.31"
wayland-protocols = { version = "0.32", features = ["client", "unstable"] }
wayland-protocols-wlr = { version = "0.3", features = ["client"] }
smithay-client-toolkit = { version = "0.20", default-features = false, features = ["calloop", "xkbcommon"] }
calloop = "0.14"
# Cairo for drawing
cairo-rs = { version = "0.21", features = ["png"] }
cairo-sys-rs = "0.21"
# SVG icon rendering
resvg = "0.44"
tiny-skia = "0.11"
# Pango for advanced text rendering and font support
pango = "0.21"
pangocairo = "0.21"
# Utils
thiserror = "2.0"
log = "0.4"
env_logger = { version = "0.11", default-features = false }
clap = { version = "4.5", default-features = false, features = ["std", "derive", "help", "usage", "error-context"] }
anyhow = "1.0"
toml = "0.9"
serde = { version = "1.0", features = ["derive"] }
async-trait = "0.1"
schemars = { version = "0.9", features = ["derive"] }
libc = "0.2"
flate2 = "1.0"
time = { version = "0.3", features = ["formatting", "parsing", "local-offset"] }
# Daemon mode
signal-hook = "0.3"
ksni = { version = "0.3", optional = true }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "time", "sync"] }
# Screenshot capture
zbus = { version = "5.0", optional = true, default-features = false, features = ["tokio"] }
wl-clipboard-rs = "0.9.2"
futures = "0.3"
serde_json = "1.0"
png = "0.17"
[build-dependencies]
cfg_aliases = "0.2"
[features]
# Optional Wayland tablet/stylus input support (zwp_tablet_v2)
tablet-input = []
# D-Bus dependent functionality (portal capture, notifications, tray)
dbus = ["zbus"]
portal = ["dbus"]
tray = ["dbus", "ksni"]
default = ["tablet-input", "portal", "tray"]
[dev-dependencies]
tempfile = "3.10"
assert_cmd = "2.0"
predicates = "3.1"