glass-browser 0.2.3

Local, revision-safe Chrome automation runtime for agents, with semantic observation, verified workflows, MCP, CLI, TUI, and Rust APIs
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"
rust-version = "1.88"
name = "glass-browser"
version = "0.2.3"
build = false
exclude = [
    ".github/",
    "AGENTS.md",
    "benchmarks/",
    "clients/",
    "deny.toml",
    "docs/plan/",
    "fuzz/",
    "scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local, revision-safe Chrome automation runtime for agents, with semantic observation, verified workflows, MCP, CLI, TUI, and Rust APIs"
homepage = "https://github.com/wanazhar/glass"
documentation = "https://docs.rs/glass-browser"
readme = "README.md"
keywords = [
    "browser-automation",
    "chrome",
    "cdp",
    "mcp",
    "browser-control",
]
categories = [
    "api-bindings",
    "command-line-utilities",
    "development-tools::testing",
]
license = "MIT"
repository = "https://github.com/wanazhar/glass"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
fuzzing = []
visual-compare = ["dep:png"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

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

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6"

[dependencies.ed25519-dalek]
version = "3"
features = [
    "fast",
    "zeroize",
]
default-features = false

[dependencies.fs2]
version = "0.4"

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

[dependencies.imagesize]
version = "0.15"
features = [
    "jpeg",
    "png",
    "webp",
]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.png]
version = "0.17"
optional = true

[dependencies.ratatui]
version = "0.30.2"
features = ["crossterm"]
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.sysinfo]
version = "0.39"
features = ["system"]
default-features = false

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

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

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

[dev-dependencies.base64-simd]
version = "0.8"

[profile.release]
opt-level = "z"
lto = "thin"
codegen-units = 1
panic = "abort"
strip = "symbols"

[profile.release-size]
opt-level = "z"
lto = "fat"
inherits = "release"