# 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 = "cdp-core"
version = "0.1.0"
authors = ["Edison Wong <wbrikor@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of chrome devtools protocol"
homepage = "https://github.com/oh0123/cdp-rs"
readme = "README.md"
keywords = [
    "cdp",
    "chrome",
    "devtools",
    "browser",
    "automation",
]
categories = [
    "web-programming",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/oh0123/cdp-rs"

[features]

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

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

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

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

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

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.base64]
version = "0.22"

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

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

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1.11"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.23.0"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.tokio-stream]
version = "0.1.17"
features = ["full"]

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

[dependencies.tracing]
version = "0.1.43"

[dependencies.url]
version = "2.3"

[dev-dependencies.anyhow]
version = "1.0"

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