-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (66 loc) · 2.08 KB
/
Cargo.toml
File metadata and controls
79 lines (66 loc) · 2.08 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
75
76
77
78
79
[package]
name = "wayscriber"
version = "0.9.19"
edition = "2024"
rust-version = "1.95"
description = "Screen annotation tool for Wayland compositors"
homepage = "https://wayscriber.com"
repository = "https://github.com/devmobasa/wayscriber"
default-run = "wayscriber"
[workspace]
members = ["configurator"]
default-members = ["."]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tablet)'] }
[lints]
workspace = true
[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"] }
# Cairo for drawing
cairo-rs = { version = "0.22", features = ["png"] }
# Pango for advanced text rendering and font support
pango = "0.22"
pangocairo = "0.22"
# Utils
log = "0.4"
env_logger = { version = "0.11", default-features = false }
anyhow = "1.0"
toml = "1.1"
serde = { version = "1.0", features = ["derive"] }
async-trait = "0.1"
schemars = { version = "1.2", features = ["derive"], optional = true }
libc = "0.2"
flate2 = "1.0"
base64 = "0.22"
zune-jpeg = "0.5"
# Daemon mode
signal-hook = "0.4"
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"] }
futures-util = { version = "0.3", default-features = false, features = ["std"] }
serde_json = "1.0"
png = "0.18"
[build-dependencies]
[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"]
config-schema = ["dep:schemars"]
default = ["tablet-input", "portal", "tray"]
[[bin]]
name = "dump_config_schema"
path = "src/bin/dump_config_schema.rs"
required-features = ["config-schema"]
[dev-dependencies]
tempfile = "3.10"
assert_cmd = "2.0"
predicates = "3.1"