cdp-html-shot 0.2.2

A Rust library for capturing HTML screenshots using CDP.
Documentation
[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4.38"

[dependencies.ctrlc]
version = "3.4.5"

[dependencies.futures]
version = "0.3.31"

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

[dependencies.log]
version = "0.4.22"

[dependencies.rand]
version = "0.8.5"

[dependencies.regex]
version = "1.11.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.14.0"

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

[dependencies.tokio-tungstenite]
version = "0.24.0"

[dependencies.which]
version = "7.0"

[dev-dependencies.base64]
version = "0.22.1"

[dev-dependencies.shindan-maker]
features = ["full"]
version = "0.1"

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

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

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

[[example]]
name = "static_instance"
path = "examples/static_instance.rs"
required-features = ["atexit"]

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

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

[features]
atexit = []
default = []
full = ["atexit"]

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

[package]
authors = ["Nawyjx <3373167460@qq.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["multimedia::images", "asynchronous", "web-programming::websocket", "web-programming"]
description = "A Rust library for capturing HTML screenshots using CDP."
documentation = "https://docs.rs/cdp-html-shot"
edition = "2024"
keywords = ["html", "screenshot", "cdp", "html-to-image", "html2image"]
license = "MIT OR Apache-2.0"
name = "cdp-html-shot"
readme = "README.md"
repository = "https://github.com/araea/cdp-html-shot"
version = "0.2.2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]

[target."cfg(windows)".dependencies.winreg]
version = "0.52.0"