-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
85 lines (68 loc) · 1.98 KB
/
Cargo.toml
File metadata and controls
85 lines (68 loc) · 1.98 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
[package]
name = "oculos"
version = "0.1.0"
edition = "2021"
authors = ["OculOS Contributors"]
description = "If it's on the screen, it's an API. Universal UI automation layer for any application."
license = "MIT"
repository = "https://github.com/huseyinstif/oculos"
keywords = ["ui-automation", "accessibility", "api", "automation", "gui"]
categories = ["gui", "api-bindings", "development-tools"]
[features]
default = []
[[bin]]
name = "oculos"
path = "src/main.rs"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Web framework
axum = { version = "0.7", features = ["ws", "multipart"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "fs", "trace"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
anyhow = "1"
thiserror = "1"
# Unique IDs for UI elements
uuid = { version = "1", features = ["v4"] }
# Async channels & state
tokio-stream = "0.1"
dashmap = "5"
# CLI args
clap = { version = "4", features = ["derive"] }
# Lazy statics
once_cell = "1"
# Image encoding (PNG screenshots)
image = "0.25"
# HTTP client (for dashboard live reload dev)
reqwest = { version = "0.11", features = ["json"], optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_System_Com",
"Win32_UI_Accessibility",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_System_Threading",
"Win32_Graphics_Gdi",
"Win32_System_Memory",
] }
[target.'cfg(target_os = "macos")'.dependencies]
accessibility = "0.1"
core-foundation = "0.9"
core-graphics = { version = "0.23", features = ["highsierra"] }
objc2 = "0.5"
[target.'cfg(target_os = "linux")'.dependencies]
atspi = { version = "0.19", features = ["async-std"] }
zbus = "3"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true