# 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.95.0"
name = "chromist"
version = "0.1.0"
authors = ["Russell Wong"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust browser automation via the Chrome DevTools Protocol"
homepage = "https://github.com/russellwmy/chromist"
readme = "README.md"
keywords = [
    "browser",
    "automation",
    "cdp",
    "chrome",
    "devtools",
]
categories = [
    "web-programming",
    "development-tools::testing",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/russellwmy/chromist"

[features]
_bench = []
integration-tests = []

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

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

[[bench]]
name = "dispatch"
path = "benches/dispatch.rs"
harness = false
required-features = ["_bench"]

[[bench]]
name = "event_fanout"
path = "benches/event_fanout.rs"
harness = false
required-features = ["_bench"]

[[bench]]
name = "event_stream"
path = "benches/event_stream.rs"
harness = false

[dependencies.async-tungstenite]
version = "0.34.0"
features = [
    "handshake",
    "futures-03-sink",
    "tokio-rustls-webpki-roots",
]
default-features = false

[dependencies.base64]
version = "0.22.1"

[dependencies.chromist-cdp]
version = "0.1.0"

[dependencies.chromist-types]
version = "0.1.0"

[dependencies.fnv]
version = "1.0.7"

[dependencies.futures]
version = "0.3.32"

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

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.1"
features = [
    "rt",
    "rt-multi-thread",
    "time",
    "fs",
    "macros",
    "process",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dev-dependencies.criterion]
version = "0.8.2"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[target."cfg(unix)".dependencies.libc]
version = "0.2.186"
