-
Notifications
You must be signed in to change notification settings - Fork 123
/
Cargo.toml
58 lines (48 loc) · 1.87 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "fantoccini"
version = "0.21.2"
edition = "2021"
rust-version = "1.67.0"
description = "High-level API for programmatically interacting with web pages through WebDriver."
readme = "README.md"
authors = ["Jon Gjengset <jon@thesquareplanet.com>"]
documentation = "https://docs.rs/fantoccini"
homepage = "https://github.com/jonhoo/fantoccini"
repository = "https://github.com/jonhoo/fantoccini.git"
keywords = ["webdriver", "chromedriver", "geckodriver", "phantomjs", "automation"]
categories = ["api-bindings", "development-tools::testing", "web-programming::http-client"]
license = "MIT OR Apache-2.0"
[features]
default = ["native-tls"]
native-tls = ["hyper-tls", "openssl"]
rustls-tls = ["hyper-rustls"]
[dependencies]
webdriver = { version = "0.50", default-features = false }
url = "2.2.2"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.50"
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "1", features = ["sync", "rt", "time"] }
hyper = { version = "1.1.0", features = ["client", "http1"] }
hyper-util = { version = "0.1.3", features = ["client", "http1", "client-legacy", "tokio"] }
http-body-util = { version = "0.1.0" }
cookie = { version = "0.18.0", features = ["percent-encode"] }
base64 = "0.22"
hyper-rustls = { version = "0.27.0", optional = true }
hyper-tls = { version = "0.6.0", optional = true }
mime = "0.3.9"
http = "1.0.0"
time = "0.3"
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
hyper = { version = "1.1.0", features = ["server"] }
hyper-util = { version = "0.1.3", features = ["server", "http1"] }
serial_test = "3.0"
# for minimal-versions
[target.'cfg(any())'.dependencies]
openssl = { version = "0.10.60", optional = true } # through native-tls, <.35 no longer builds
openssl-macros = { version = "0.1.1", optional = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]