Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (91 loc) · 3.32 KB
/
Copy pathCargo.toml
File metadata and controls
95 lines (91 loc) · 3.32 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[workspace]
members = [
"blockwork-qt",
"blockwork-app",
"blockwork-core",
"blockwork-daemon",
"blockwork-ffi",
"blockwork-linux-bridge",
"blockwork-model",
"blockwork-protocol",
"blockwork-web",
]
resolver = "2"
default-members = [
"blockwork-app",
"blockwork-qt",
]
[workspace.package]
version = "0.6.2"
edition = "2024"
# tract (the detection models) needs 1.91; CI checks the workspace with it.
rust-version = "1.91"
[workspace.dependencies]
# One blockstitch commit for all three; change it with scripts/set-blockstitch-rev.js,
# or build against a checkout with `just blockstitch-local`.
blockstitch-qml = { git = "https://github.com/Blockworked/blockstitch", rev = "23f26f682f729094710ed4e29efb6ac13980841f" }
blockstitch-ffi = { git = "https://github.com/Blockworked/blockstitch", rev = "23f26f682f729094710ed4e29efb6ac13980841f" }
blockstitch-core = { git = "https://github.com/Blockworked/blockstitch", rev = "23f26f682f729094710ed4e29efb6ac13980841f" }
tracing = "0.1.44"
tracing-log = "0.2.0"
tracing-subscriber = "0.3.23"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
dirs = "7.0.0"
uuid = { version = "1.24.0", features = ["v4"] }
rand = "0.10.2"
slotmap = { version = "1.1.1", features = ["serde"] }
tokio = { version = "1.53.0", features = ["sync"] }
spin_sleep = "1.3.3"
libc = "0.2"
evdev = "0.13.2"
x11rb = { version = "0.14", default-features = false, features = ["randr"] }
wayland-client = "0.31.15"
wayland-protocols = { version = "0.32.13", features = ["client", "unstable"] }
bincode = { version = "2", features = ["serde"] }
memmap2 = "0.9"
windows-sys = { version = "0.61.2", features = [
"Win32_UI_Accessibility",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell",
"Win32_Graphics_Gdi",
"Win32_Graphics_Dwm",
"Win32_System_Com",
"Win32_Foundation",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_Storage_FileSystem",
"Win32_Storage_Packaging_Appx",
"Win32_System_Memory",
"Win32_System_Console",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_SystemInformation",
"Win32_Security",
"Win32_Security_Credentials",
"Win32_NetworkManagement_IpHelper",
"Win32_Devices_DeviceAndDriverInstallation",
"Win32_Devices_Properties",
] }
enigo = { git = "https://github.com/enigo-rs/enigo", rev = "a88d9b7", default-features = false }
self_update = { version = "1.3.0", default-features = false, features = ["reqwest", "rustls", "github"] }
http = "1"
core-graphics = "0.25.0"
core-foundation = "0.10.1"
foreign-types = "0.5"
starship-battery = { version = "0.11.1", default-features = false }
arboard = { version = "3.6.1", features = ["wayland-data-control"] }
base64 = "0.23.1"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
ureq = { version = "3.4", default-features = false, features = ["rustls", "gzip"] }
regex = "1.13"
security-framework = { version = "3.7", default-features = false }
zbus = { version = "5.19", default-features = false, features = ["blocking-api", "async-io"] }
# The website's wasm editor (blockwork-web). Qt for WebAssembly uses JS
# exceptions and Rust's emscripten std uses wasm ones, so it can't unwind.
[profile.web]
inherits = "release"
panic = "abort"
opt-level = "z"
lto = true
codegen-units = 1