browsing 0.1.2

Lightweight MCP/API for browser automation: navigate, get content (text), screenshot. Parallelism via RwLock.
Documentation
# 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 = "browsing"
version = "0.1.2"
authors = ["Ying Kit WONG"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight MCP/API for browser automation: navigate, get content (text), screenshot. Parallelism via RwLock."
homepage = "https://github.com/yingkitw/browsing"
documentation = "https://docs.rs/browsing"
readme = "README.md"
keywords = [
    "ai",
    "agents",
    "web-browsing",
    "automation",
    "mcp",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/browsing"

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

[[bin]]
name = "browsing"
path = "src/bin/cli.rs"

[[bin]]
name = "browsing-mcp"
path = "src/bin/mcp_server/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.anyrepair]
version = "0.1"

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

[dependencies.base64]
version = "0.22"

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

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "color",
]

[dependencies.dotenv]
version = "0.15"

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

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.rmcp]
version = "0.14"
features = [
    "server",
    "transport-io",
    "schemars",
]

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["native-tls"]

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

[dependencies.uuid]
version = "1.10"
features = [
    "v7",
    "serde",
]

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"