plumb-cdp 0.0.13

Chromium DevTools Protocol driver for Plumb — renders pages to PlumbSnapshot.
Documentation
# 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"
rust-version = "1.95"
name = "plumb-cdp"
version = "0.0.13"
authors = ["Aram Hammoudeh <aram.devdocs@gmail.com>"]
build = false
exclude = [
    "AGENTS.md",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chromium DevTools Protocol driver for Plumb — renders pages to PlumbSnapshot."
homepage = "https://plumb.aramhammoudeh.com"
documentation = "https://plumb.aramhammoudeh.com"
readme = "README.md"
keywords = [
    "design-system",
    "linter",
    "mcp",
    "chromium",
    "cdp",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aram-devdocs/plumb"

[features]
default = []
e2e-chromium = []

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

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

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

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

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

[dependencies.chromiumoxide]
version = "0.9"
features = [
    "fetcher",
    "rustls",
    "zip8",
]
default-features = false

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.plumb-core]
version = "0.0.13"
features = ["test-fake"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.plumb-core]
version = "0.0.13"
features = ["test-fake"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3"

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

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

[lints.clippy]
cognitive_complexity = "allow"
dbg_macro = "deny"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
expect_used = "deny"
missing_const_for_fn = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
too_long_first_doc_paragraph = "allow"
unimplemented = "deny"
unused_async = "allow"
unwrap_used = "deny"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "deny"
deprecated = "deny"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_imports = "deny"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1