[package]
edition = "2021"
name = "computeruse-rs"
version = "2.0.0"
authors = ["elizaOS Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Playwright-style SDK for automating desktop GUI applications"
homepage = "https://github.com/mediar-ai/computeruse"
documentation = "https://docs.rs/computeruse-rs"
readme = "README.md"
keywords = [
"automation",
"gui",
"desktop",
"accessibility",
"testing",
]
categories = [
"accessibility",
"api-bindings",
"development-tools::testing",
]
license = "MIT"
repository = "https://github.com/mediar-ai/computeruse"
[features]
default = []
[lib]
name = "computeruse"
path = "src/lib.rs"
[[example]]
name = "advanced_window_targeting"
path = "examples/advanced_window_targeting.rs"
[[example]]
name = "amazon_country_highlight"
path = "examples/amazon_country_highlight.rs"
[[example]]
name = "benchmark_example"
path = "examples/benchmark_example.rs"
[[example]]
name = "caret_check"
path = "examples/caret_check.rs"
[[example]]
name = "caret_console_check"
path = "examples/caret_console_check.rs"
[[example]]
name = "caret_gui_check"
path = "examples/caret_gui_check.rs"
[[example]]
name = "cursor_example"
path = "examples/cursor_example.rs"
[[example]]
name = "cursor_restore_test"
path = "examples/cursor_restore_test.rs"
[[example]]
name = "element_ocr_demo"
path = "examples/element_ocr_demo.rs"
[[example]]
name = "fast_hover_highlight"
path = "examples/fast_hover_highlight.rs"
[[example]]
name = "focus_restore_test"
path = "examples/focus_restore_test.rs"
[[example]]
name = "get_all_applications_tree"
path = "examples/get_all_applications_tree.rs"
[[example]]
name = "github_scroll_highlight"
path = "examples/github_scroll_highlight.rs"
[[example]]
name = "highlight_test"
path = "examples/highlight_test.rs"
[[example]]
name = "hover_highlight_test"
path = "examples/hover_highlight_test.rs"
[[example]]
name = "list_processes_and_windows"
path = "examples/list_processes_and_windows.rs"
[[example]]
name = "monitor_management"
path = "examples/monitor_management.rs"
[[example]]
name = "name_with_role"
path = "examples/name_with_role.rs"
[[example]]
name = "near"
path = "examples/near.rs"
[[example]]
name = "print_accessibility_tree"
path = "examples/print_accessibility_tree.rs"
[[example]]
name = "serialize_deserialize_element"
path = "examples/serialize_deserialize_element.rs"
[[example]]
name = "serialize_element"
path = "examples/serialize_element.rs"
[[example]]
name = "simple_dataiku_extraction"
path = "examples/simple_dataiku_extraction.rs"
[[example]]
name = "simple_process_list"
path = "examples/simple_process_list.rs"
[[example]]
name = "smart_deserialize"
path = "examples/smart_deserialize.rs"
[[example]]
name = "test_browser_script"
path = "examples/test_browser_script.rs"
[[example]]
name = "test_browser_script_fixed"
path = "examples/test_browser_script_fixed.rs"
[[example]]
name = "test_keyboard_maximize"
path = "examples/test_keyboard_maximize.rs"
[[example]]
name = "test_keyboard_method"
path = "examples/test_keyboard_method.rs"
[[example]]
name = "test_scroll_into_view_click"
path = "examples/test_scroll_into_view_click.rs"
[[example]]
name = "test_uwp_maximize"
path = "examples/test_uwp_maximize.rs"
[[example]]
name = "test_uwp_maximize_verbose"
path = "examples/test_uwp_maximize_verbose.rs"
[[example]]
name = "test_uwp_patterns"
path = "examples/test_uwp_patterns.rs"
[[example]]
name = "test_uwp_window_owner"
path = "examples/test_uwp_window_owner.rs"
[[example]]
name = "uielement_deserialize"
path = "examples/uielement_deserialize.rs"
[[example]]
name = "virtual_display_test"
path = "examples/virtual_display_test.rs"
[[example]]
name = "visibility_filter"
path = "examples/visibility_filter.rs"
[[test]]
name = "browser_script_edge_cases_test"
path = "tests/browser_script_edge_cases_test.rs"
[[test]]
name = "click_timing_regression_test"
path = "tests/click_timing_regression_test.rs"
[[test]]
name = "close_tab_e2e_test"
path = "tests/close_tab_e2e_test.rs"
[[test]]
name = "debugger_detach_test"
path = "tests/debugger_detach_test.rs"
[[test]]
name = "extension_bridge_test"
path = "tests/extension_bridge_test.rs"
[[test]]
name = "non_windows_smoke_test"
path = "tests/non_windows_smoke_test.rs"
[[test]]
name = "nth_selector_test"
path = "tests/nth_selector_test.rs"
[[test]]
name = "open_url"
path = "tests/open_url.rs"
[[test]]
name = "open_url_unit_tests"
path = "tests/open_url_unit_tests.rs"
[[test]]
name = "path_test"
path = "tests/path_test.rs"
[[test]]
name = "wait_tests"
path = "tests/wait_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.blake3]
version = "1.5"
[dependencies.chrono]
version = "0.4"
[dependencies.computeruse-computer-use]
version = "2.0.0"
[dependencies.dirs]
version = "5.0"
[dependencies.futures]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.image]
version = "0.25"
[dependencies.once_cell]
version = "1.19"
[dependencies.regex]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.similar]
version = "2.5"
[dependencies.sysinfo]
version = "0.36"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.44"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.23"
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"time",
"local-time",
]
[dependencies.uni-ocr]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.xcap]
version = "0.6"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"blocking",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tiny_http]
version = "0.12"
[dev-dependencies.tokio]
version = "1.44"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.tower-http]
version = "0.6"
features = [
"cors",
"limit",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.urlencoding]
version = "2.1"
[dev-dependencies.warp]
version = "0.3"
[target.'cfg(not(target_os = "windows"))'.dependencies.enigo]
version = "0.6"
[target.'cfg(target_os = "linux")'.dependencies.atspi]
version = "0.25"
[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5.5"
[target.'cfg(target_os = "macos")'.dependencies.accessibility]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.accessibility-sys]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.25"
[target.'cfg(target_os = "windows")'.dependencies.reqwest]
version = "0.12"
features = [
"json",
"blocking",
"rustls-tls",
]
[target.'cfg(target_os = "windows")'.dependencies.uiautomation]
version = "0.22"
features = [
"clipboard",
"input",
"process",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Com",
"Win32_UI_Shell",
"Win32_Security",
"Win32_UI_WindowsAndMessaging",
"Win32_System_ProcessStatus",
"Win32_System_Registry",
"Win32_System_Threading",
"Win32_UI_Input",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_Graphics_Gdi",
"Media_Ocr",
"Graphics_Imaging",
"Storage_Streams",
"Foundation",
]