gthings-cdp 0.4.9

Chrome DevTools Protocol transport — WebSocket connection, tab management, and browser lifecycle
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.85"
name = "gthings-cdp"
version = "0.4.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chrome DevTools Protocol transport — WebSocket connection, tab management, and browser lifecycle"
readme = false
license = "MIT"
resolver = "2"

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[lints.clippy]
assertions_on_result_states = "warn"
dbg_macro = "deny"
enum_glob_use = "warn"
large_futures = "warn"
large_stack_frames = "warn"
redundant_closure_for_method_calls = "warn"
same_name_method = "warn"
todo = "deny"
unnecessary_cast = "warn"
unnecessary_to_owned = "warn"
unnecessary_unwrap = "warn"

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

[lints.clippy.cargo]
level = "allow"
priority = 1

[lints.clippy.nursery]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "allow"
priority = 1

[lints.rust]
missing_docs = "allow"
unreachable_pub = "warn"
unsafe_code = "deny"