native-devtools-mcp 0.10.1

MCP server for computer use & browser automation — screenshot, OCR, click, type, find_text, Chrome/Electron CDP, template matching. macOS, Windows & Android.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "native-devtools-mcp"
version = "0.10.1"
build = false
exclude = ["*.gif"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for computer use & browser automation — screenshot, OCR, click, type, find_text, Chrome/Electron CDP, template matching. macOS, Windows & Android."
readme = "README.md"
keywords = [
    "mcp",
    "computer-use",
    "ui-automation",
    "android",
    "screenshot",
]
categories = [
    "development-tools::testing",
    "accessibility",
]
license = "MIT"
repository = "https://github.com/sh3ll3x3c/native-devtools-mcp"

[features]
cdp = ["dep:chromiumoxide"]
default = [
    "find_image_fast",
    "cdp",
]
find_image_fast = [
    "find_image_simd",
    "find_image_parallel",
]
find_image_parallel = ["dep:rayon"]
find_image_simd = ["dep:wide"]

[lib]
name = "native_devtools_mcp"
path = "src/lib.rs"

[[bin]]
name = "native-devtools-mcp"
path = "src/main.rs"

[[test]]
name = "android_smoke_tests"
path = "tests/android_smoke_tests.rs"

[[test]]
name = "ax_dispatch_tests"
path = "tests/ax_dispatch_tests.rs"

[[test]]
name = "cdp_dom_discovery_tests"
path = "tests/cdp_dom_discovery_tests.rs"

[[test]]
name = "tool_gating_tests"
path = "tests/tool_gating_tests.rs"

[[test]]
name = "window_capture_alignment_tests"
path = "tests/window_capture_alignment_tests.rs"

[[bench]]
name = "find_image_bench"
path = "benches/find_image_bench.rs"
harness = false

[dependencies.adb_client]
version = "3"

[dependencies.base64]
version = "0.22"

[dependencies.chromiumoxide]
version = "0.9"
optional = true
default-features = false

[dependencies.futures-util]
version = "0.3"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.quick-xml]
version = "0.39"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.rmcp]
version = "1"
features = [
    "server",
    "transport-io",
    "macros",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.24"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.ureq]
version = "3"

[dependencies.url]
version = "2.5"

[dependencies.wide]
version = "0.7"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "0.26"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"

[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.24"

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58"
features = [
    "implement",
    "Win32_Foundation",
    "Win32_Graphics_Gdi",
    "Win32_Graphics_Dwm",
    "Win32_UI_WindowsAndMessaging",
    "Win32_UI_Input_KeyboardAndMouse",
    "Win32_UI_HiDpi",
    "Win32_UI_Accessibility",
    "Win32_System_Com",
    "Win32_System_Threading",
    "Win32_System_ProcessStatus",
    "Win32_System_SystemServices",
    "Graphics_Imaging",
    "Media_Ocr",
    "Storage_Streams",
    "Foundation",
    "Foundation_Collections",
]

[lints.rust]
unexpected_cfgs = "allow"