# 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 = "browser39"
version = "1.6.3"
authors = ["Alejandro Quintanar"]
build = false
exclude = [
    "dist/",
    "target/",
    ".claude/",
    ".claude-plugin/",
    "openclaw-plugin/",
    "CLAUDE.md",
    ".mcp.json",
    ".DS_Store",
    "build.sh",
    "benchmark.sh",
    "bench/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless web browser for AI agents"
homepage = "https://github.com/alejandroqh/browser39"
readme = "README.md"
keywords = [
    "browser",
    "ai",
    "mcp",
    "headless",
    "markdown",
]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/alejandroqh/browser39"

[[bin]]
name = "browser39"
path = "src/main.rs"

[[example]]
name = "browser39_tools"
path = "examples/browser39_tools.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

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

[dependencies.cookie]
version = "0.18"

[dependencies.cookie_store]
version = "0.22"

[dependencies.deno_core]
version = "=0.340.0"

[dependencies.deno_error]
version = "0.5"

[dependencies.dirs]
version = "6"

[dependencies.ego-tree]
version = "0.11"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.form_urlencoded]
version = "1"

[dependencies.html5ever]
version = "0.39"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server-auto",
    "http1",
    "http2",
]

[dependencies.notify]
version = "7"

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

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls-native-roots",
    "cookies",
]
default-features = false

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

[dependencies.schemars]
version = "1"

[dependencies.scraper]
version = "0.26"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_v8]
version = "=0.249.0"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tower-service]
version = "0.3"

[dependencies.url]
version = "2"

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

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