[package]
edition = "2024"
name = "cdp-browser-lite"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Control total del ciclo de vida de instancias de Chrome y acceso CDP"
readme = "README.md"
keywords = [
"cdp",
"chrome",
"browser",
"automation",
"headless",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/raultov/cdp-browser-lite"
[lib]
name = "cdp_browser_lite"
path = "src/lib.rs"
[[bin]]
name = "fake_chrome_helper"
path = "src/bin/fake_chrome_helper.rs"
[[example]]
name = "filter_domains"
path = "examples/filter_domains.rs"
[[example]]
name = "runtime_usage"
path = "examples/runtime_usage.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[test]]
name = "browser_lifecycle"
path = "tests/browser_lifecycle.rs"
[[test]]
name = "client_access"
path = "tests/client_access.rs"
[[test]]
name = "drop_semantics"
path = "tests/drop_semantics.rs"
[[test]]
name = "e2e_real_chrome"
path = "tests/e2e_real_chrome.rs"
[[test]]
name = "multi_instance"
path = "tests/multi_instance.rs"
[[test]]
name = "probe_tests"
path = "tests/probe_tests.rs"
[[test]]
name = "process_tests"
path = "tests/process_tests.rs"
[dependencies.cdp-lite]
version = "0.1.3"
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"process",
"net",
"time",
"fs",
"io-util",
"sync",
"macros",
"rt-multi-thread",
"signal",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.tokio-stream]
version = "0.1"
[dev-dependencies.tokio-tungstenite]
version = "0.30"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target."cfg(unix)".dependencies.nix]
version = "0.31.3"
features = ["signal"]
[lints.clippy]
cognitive_complexity = "warn"
collapsible_if = "deny"
collapsible_match = "deny"
fn_params_excessive_bools = "warn"
large_enum_variant = "warn"
struct_excessive_bools = "warn"
type_complexity = "warn"