chrome-agent 0.7.0

Browser automation for AI agents. Single binary, zero deps, CDP direct to Chrome.
# 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 = "2024"
name = "chrome-agent"
version = "0.7.0"
build = false
exclude = [
    "tests/js/node_modules/",
    "tests/fixtures/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser automation for AI agents. Single binary, zero deps, CDP direct to Chrome."
readme = "README.md"
keywords = [
    "browser",
    "automation",
    "chrome",
    "cdp",
    "ai-agent",
]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/sderosiaux/chrome-agent"

[[bin]]
name = "chrome-agent"
path = "src/main.rs"

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

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

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

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

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

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "6"

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

[dependencies.libc]
version = "0.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "net",
    "io-util",
    "io-std",
    "signal",
    "process",
]

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

[dependencies.ureq]
version = "3"
default-features = false

[lints.clippy]
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cognitive_complexity = "allow"
enum_variant_names = "allow"
format_push_string = "allow"
if_same_then_else = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
option_if_let_else = "allow"
redundant_else = "allow"
significant_drop_in_scrutinee = "allow"
similar_names = "allow"
single_match_else = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unused_self = "allow"
used_underscore_binding = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"
unused_must_use = "deny"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true