# 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"
name = "fantoccini"
version = "0.19.3"
authors = ["Jon Gjengset <jon@thesquareplanet.com>"]
description = "High-level API for programmatically interacting with web pages through WebDriver."
homepage = "https://github.com/jonhoo/fantoccini"
documentation = "https://docs.rs/fantoccini"
readme = "README.md"
keywords = [
    "webdriver",
    "chromedriver",
    "geckodriver",
    "phantomjs",
    "automation",
]
categories = [
    "api-bindings",
    "development-tools::testing",
    "web-programming::http-client",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/jonhoo/fantoccini.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.base64]
version = "0.13"

[dependencies.cookie]
version = "0.16.0"
features = ["percent-encode"]

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

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

[dependencies.http]
version = "0.2"

[dependencies.hyper]
version = "0.14"
features = [
    "stream",
    "client",
    "http1",
]

[dependencies.hyper-rustls]
version = "0.23.0"
optional = true

[dependencies.hyper-tls]
version = "0.5.0"
optional = true

[dependencies.mime]
version = "0.3.9"

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

[dependencies.serde_json]
version = "1.0.25"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "time",
]

[dependencies.url]
version = "2.2.2"

[dependencies.webdriver]
version = "0.46"
default-features = false

[dev-dependencies.hyper]
version = "0.14"
features = [
    "server",
    "tcp",
]

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

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

[features]
default = ["native-tls"]
native-tls = ["hyper-tls"]
rustls-tls = ["hyper-rustls"]
