forked from rust-headless-chrome/rust-headless-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (50 loc) · 1.47 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
[package]
name = "headless_chrome"
version = "1.0.15"
authors = ["Alistair Roche <[email protected]>"]
edition = "2021"
rust-version = "1.78"
description = "Control Chrome programatically"
license = "MIT"
homepage = "https://github.com/rust-headless-chrome/rust-headless-chrome"
repository = "https://github.com/rust-headless-chrome/rust-headless-chrome"
readme = "README.md"
[dependencies]
anyhow = "1"
base64 = "0.22.1"
derive_builder = "0.20.1"
directories = { version = "5.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.10", optional = true, features = ["proxy-from-env"] }
walkdir = { version = "2", optional = true }
tungstenite = "0.24.0"
url = "2.5"
which = "6.0.3"
zip = { version = "2.2.0", optional = true }
[target.'cfg(windows)'.dependencies]
winreg = "0.52.0"
[dev-dependencies]
chrono = { version = "0.4", default-features = false, features = ["clock"] }
env_logger = "0.11.3"
filepath = "0.1.2"
jpeg-decoder = { version = "0.3", default-features = false }
png = { version = "0.17" }
tiny_http = "0.12"
[build-dependencies]
auto_generate_cdp = "0.4.4"
[lib]
name = "headless_chrome"
path = "src/lib.rs"
[features]
default = ["offline"]
fetch = ["ureq", "directories", "zip", "walkdir"]
nightly = []
offline = ["auto_generate_cdp/offline"]
rustls = ["tungstenite/rustls", "tungstenite/rustls-tls-native-roots"]
native-tls = ["tungstenite/native-tls"]