thirtyfour 0.37.0

Thirtyfour is a Selenium / WebDriver library for Rust, for automated website UI testing. Tested on Chrome and Firefox, but any webdriver-capable browser should work.
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.88"
name = "thirtyfour"
version = "0.37.0"
authors = [
    "Steve Pryde <steve@stevepryde.com>",
    "Vrtgs <vrtgs@vrtgs.xyz>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Thirtyfour is a Selenium / WebDriver library for Rust, for automated website UI testing.

Tested on Chrome and Firefox, but any webdriver-capable browser should work.
"""
homepage = "https://github.com/stevepryde/thirtyfour"
documentation = "https://docs.rs/thirtyfour"
readme = "README.md"
keywords = [
    "selenium",
    "webdriver",
    "chromedriver",
    "geckodriver",
    "automation",
]
categories = [
    "api-bindings",
    "development-tools::testing",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stevepryde/thirtyfour"

[features]
bidi = [
    "dep:tokio-tungstenite",
    "tokio/macros",
    "tokio/rt",
]
cdp = []
cdp-events = [
    "cdp",
    "dep:tokio-tungstenite",
    "tokio/macros",
    "tokio/rt",
]
component = ["thirtyfour-macros"]
default = [
    "reqwest",
    "rustls",
    "component",
    "manager",
    "cdp",
]
manager = [
    "reqwest",
    "reqwest/stream",
    "tokio/fs",
    "tokio/process",
    "dep:dirs",
    "dep:fs4",
    "dep:zip",
    "dep:flate2",
    "dep:tar",
]
manager-tests = ["manager"]
native-tls = ["reqwest/native-tls"]
reqwest = ["dep:reqwest"]
rustls = ["reqwest/rustls"]

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

[[example]]
name = "bidi_basic"
path = "examples/bidi_basic.rs"
required-features = [
    "manager",
    "bidi",
]

[[example]]
name = "bidi_log_events"
path = "examples/bidi_log_events.rs"
required-features = [
    "manager",
    "bidi",
]

[[example]]
name = "bidi_network_intercept"
path = "examples/bidi_network_intercept.rs"
required-features = [
    "manager",
    "bidi",
]

[[example]]
name = "chrome_devtools"
path = "examples/chrome_devtools.rs"
required-features = [
    "manager",
    "cdp",
]

[[example]]
name = "chrome_options"
path = "examples/chrome_options.rs"
required-features = ["manager"]

[[example]]
name = "custom_poller"
path = "examples/query/custom_poller.rs"
required-features = ["manager"]

[[example]]
name = "driver_logging"
path = "examples/driver_logging.rs"
required-features = ["manager"]

[[example]]
name = "firefox_preferences"
path = "examples/firefox_preferences.rs"
required-features = ["manager"]

[[example]]
name = "minimal_async"
path = "examples/minimal_async.rs"
required-features = ["manager"]

[[example]]
name = "playground"
path = "examples/components/playground.rs"
required-features = ["manager"]

[[example]]
name = "remote_debugging"
path = "examples/remote_debugging.rs"
required-features = ["manager"]

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

[[example]]
name = "shadowroot"
path = "examples/shadowroot.rs"
required-features = ["manager"]

[[example]]
name = "tokio_async"
path = "examples/tokio_async.rs"
required-features = ["manager"]

[[example]]
name = "tokio_basic"
path = "examples/tokio_basic.rs"
required-features = ["manager"]

[[example]]
name = "wikipedia"
path = "examples/query/wikipedia.rs"
required-features = ["manager"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arc-swap]
version = "1"

[dependencies.async-trait]
version = "0.1.83"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.const_format]
version = "0.2.33"

[dependencies.dirs]
version = "6"
optional = true

[dependencies.flate2]
version = "1"
optional = true

[dependencies.fs4]
version = "1.1"
features = ["tokio"]
optional = true
default-features = false

[dependencies.futures-util]
version = "0.3.31"
features = ["alloc"]
default-features = false

[dependencies.http]
version = "1"

[dependencies.indexmap]
version = "2"

[dependencies.pastey]
version = "0.2"

[dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.210"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.132"
features = ["preserve_order"]

[dependencies.serde_repr]
version = "0.1.19"

[dependencies.stringmatch]
version = "0.4"

[dependencies.tar]
version = "0.4"
optional = true

[dependencies.thirtyfour-macros]
version = "0.2.0"
optional = true

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.30"
features = [
    "rt",
    "macros",
    "time",
    "io-util",
    "sync",
]

[dependencies.tokio-tungstenite]
version = "0.29"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5.2"

[dependencies.zip]
version = "8"
features = ["deflate"]
optional = true
default-features = false

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

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.rstest]
version = "0.26"
default-features = false

[dev-dependencies.serial_test]
version = "3.2.0"

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

[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]

[dev-dependencies.tower-http]
version = "0.6"
features = ["fs"]

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

[dev-dependencies.wiremock]
version = "0.6"