# 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 = "car-desktop"
version = "0.23.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OS-level screen capture, accessibility inspection, and input synthesis for Common Agent Runtime"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Parslee-ai/car"

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.car-browser]
version = "0.23.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hex]
version = "0.4"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
    "macros",
    "rt-multi-thread",
]

[target.'cfg(target_os = "macos")'.dependencies.accessibility-sys]
version = "0.1"

[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.libc]
version = "0.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.5"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.2"
features = [
    "NSRunningApplication",
    "NSWorkspace",
    "libc",
]

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

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