forked from jonhoo/fantoccini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (44 loc) · 1.67 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
[package]
name = "fantoccini"
version = "0.20.0-rc.7"
edition = "2021"
description = "High-level API for programmatically interacting with web pages through WebDriver."
readme = "README.md"
authors = ["Jon Gjengset <[email protected]>"]
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 = "0.14", features = ["stream", "client", "http1"] }
cookie = { version = "0.17.0", features = ["percent-encode"] }
base64 = "0.21"
hyper-rustls = { version = "0.24.0", optional = true }
hyper-tls = { version = "0.5.0", optional = true }
mime = "0.3.9"
http = "0.2"
time = "0.3"
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
hyper = { version = "0.14", features = ["server", "tcp"] }
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"]