# 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 = "2021" rust-version = "1.78" name = "headless_chrome" version = "1.0.15" authors = ["Alistair Roche "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Control Chrome programatically" 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" [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.1" [dependencies.directories] version = "5.0" optional = true [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.regex] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tempfile] version = "3" [dependencies.thiserror] version = "1" [dependencies.tungstenite] version = "0.24.0" [dependencies.ureq] version = "2.10" features = ["proxy-from-env"] optional = true [dependencies.url] version = "2.5" [dependencies.walkdir] version = "2" optional = true [dependencies.which] version = "6.0.3" [dependencies.zip] version = "2.2.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.1.2" [dev-dependencies.jpeg-decoder] version = "0.3" default-features = false [dev-dependencies.png] version = "0.17" [dev-dependencies.tiny_http] version = "0.12" [build-dependencies.auto_generate_cdp] version = "0.4.4" [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", ] [target."cfg(windows)".dependencies.winreg] version = "0.52.0"