forked from rust-headless-chrome/rust-headless-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (47 loc) · 1.29 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
[package]
name = "headless_chrome"
version = "1.0.5"
authors = ["Alistair Roche <[email protected]>"]
edition = "2021"
description = "Control Chrome programatically"
license = "MIT"
homepage = "https://github.com/atroche/rust-headless-chrome"
repository = "https://github.com/atroche/rust-headless-chrome"
readme = "README.md"
[dependencies]
anyhow = "1"
base64 = "0.21"
derive_builder = "0.12"
directories = { version = "4.0", optional = true }
log = "0.4"
rand = "0.8"
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3"
thiserror = "1"
ureq = { version = "2.5", optional = true }
walkdir = { version = "2", optional = true }
tungstenite = "0.18"
url = "2.3"
which = "4.0"
zip = { version = "0.6.3", optional = true }
[target.'cfg(windows)'.dependencies]
winreg = "0.10"
[dev-dependencies]
chrono = { version = "0.4", default_features = false, features = ["clock"] }
env_logger = "0.10"
filepath = "0.1.1"
jpeg-decoder = { version = "0.3", default_features = false }
png = { version = "0.17" }
tiny_http = "0.12"
[build-dependencies]
auto_generate_cdp = "0.4.1"
[lib]
name = "headless_chrome"
path = "src/lib.rs"
[features]
fetch = ["ureq", "directories", "zip", "walkdir"]
nightly = []
rustls = ["tungstenite/rustls"]
native-tls = ["tungstenite/native-tls"]