47 lines
1023 B
TOML
47 lines
1023 B
TOML
[package]
|
|
name = "g3-computer-control"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# Workspace dependencies
|
|
tokio = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tracing = { workspace = true }
|
|
uuid = { workspace = true }
|
|
|
|
shellexpand = "3.1"
|
|
# Async trait support
|
|
async-trait = "0.1"
|
|
|
|
# WebDriver support
|
|
fantoccini = "0.21"
|
|
|
|
# OCR dependencies
|
|
tesseract = "0.14"
|
|
|
|
# macOS dependencies
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-graphics = "0.23"
|
|
core-foundation = "0.9"
|
|
cocoa = "0.25"
|
|
objc = "0.2"
|
|
image = "0.24"
|
|
|
|
# Linux dependencies
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
x11 = { version = "2.21", features = ["xlib", "xtest"] }
|
|
image = "0.24"
|
|
|
|
# Windows dependencies
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0.52", features = [
|
|
"Win32_Foundation",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_Graphics_Gdi",
|
|
] }
|