[package]
edition = "2024"
rust-version = "1.88"
name = "cdp-driver"
version = "0.5.0"
authors = ["Rakibul Yeasin <ryeasin03@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chrome DevTools Protocol (CDP) client for Rust: every command, event and type generated from the schema, with sessions, for browser automation and AI agents"
documentation = "https://docs.rs/cdp-driver"
readme = "README.md"
keywords = [
"cdp",
"chrome",
"devtools",
"browser-automation",
"headless",
]
categories = [
"web-programming",
"api-bindings",
"development-tools::testing",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/dreygur/cdp-protocol"
resolver = "2"
[features]
blocking = []
[lib]
name = "cdp_driver"
path = "src/lib.rs"
[[example]]
name = "agent"
path = "examples/agent.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "cluster"
path = "examples/cluster.rs"
[[example]]
name = "industrial"
path = "examples/industrial.rs"
[[example]]
name = "raw"
path = "examples/raw.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "raw_call"
path = "tests/raw_call.rs"
[[test]]
name = "sessions"
path = "tests/sessions.rs"
[[test]]
name = "typed"
path = "tests/typed.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[dependencies.base64]
version = "0.23"
[dependencies.futures-util]
version = "0.3"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.30"
features = ["rustls-tls-webpki-roots"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-appender]
version = "0.2"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]