headless_chrome 1.0.21

Control Chrome programmatically
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 = "headless_chrome"
version = "1.0.21"
authors = ["Alistair Roche <alistair@sunburnt.country>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Control Chrome programmatically"
homepage = "https://github.com/rust-headless-chrome/rust-headless-chrome"
readme = "README.md"
license = "MIT"
repository = "https://github.com/rust-headless-chrome/rust-headless-chrome"

[features]
default = ["offline"]
fetch = [
    "ureq",
    "directories",
    "zip",
    "walkdir",
]
native-tls = ["tungstenite/native-tls"]
nightly = []
offline = ["auto_generate_cdp/offline"]
rustls = [
    "tungstenite/rustls",
    "tungstenite/rustls-tls-native-roots",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22.1"

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.directories]
version = "6.0.0"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.9.0"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tungstenite]
version = "0.28"

[dependencies.ureq]
version = "3.1"
optional = true

[dependencies.url]
version = "2.5"

[dependencies.walkdir]
version = "2"
optional = true

[dependencies.which]
version = "8.0"

[dependencies.zip]
version = "6.0.0"
optional = true

[dev-dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dev-dependencies.env_logger]
version = "0.11.3"

[dev-dependencies.filepath]
version = "0.2.0"

[dev-dependencies.jpeg-decoder]
version = "0.3"
default-features = false

[dev-dependencies.png]
version = "0.18"

[dev-dependencies.tiny_http]
version = "0.12"

[build-dependencies.auto_generate_cdp]
version = "0.4.6"

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