# 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-browser"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser automation and perception pipeline for Common Agent Runtime"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Parslee-ai/car"

[features]
chromium = [
    "dep:chromiumoxide",
    "dep:futures",
    "dep:tempfile",
]
default = []

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.car-engine]
version = "0.7.0"

[dependencies.car-ir]
version = "0.7.0"

[dependencies.chromiumoxide]
version = "0.9"
optional = true

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

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.hex]
version = "0.4"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.car-engine]
version = "0.7.0"

[dev-dependencies.car-ir]
version = "0.7.0"

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