# 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.75"
name = "cdpkit"
version = "0.4.0"
authors = ["yie1d <myie1d.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe Chrome DevTools Protocol (CDP) client for Rust"
readme = "README.md"
keywords = [
    "chrome",
    "devtools",
    "cdp",
    "automation",
    "browser",
]
categories = [
    "web-programming",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yie1d/cdpkit-rs"

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

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

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

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

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

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

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

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

[dependencies.futures]
version = "0.3"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-stream]
version = "0.1"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.base64]
version = "0.22"

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

[dev-dependencies.tokio-tungstenite]
version = "0.28"
