# 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"
rust-version = "1.85"
name = "oxide-browser-sh"
version = "0.3.0"
authors = ["Rust Oxide Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-healing AI-driven browser automation for Rust Oxide. Built on chromiumoxide with accessibility-tree-first targeting, an LLM-friendly feedback loop, and token-efficient Markdown extraction via oxide-compress."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/manjunani/rust-oxide"

[features]
chromium = [
    "dep:chromiumoxide",
    "dep:futures",
]
default = []
live-browser = ["chromium"]

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.chromiumoxide]
version = "0.7"
features = ["tokio-runtime"]
optional = true
default-features = false

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

[dependencies.oxide-compress]
version = "0.3.0"

[dependencies.oxide-k]
version = "0.3.0"

[dependencies.scraper]
version = "0.20"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tracing]
version = "0.1"

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

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