forked from rust-headless-chrome/rust-headless-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (45 loc) · 1.25 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
[package]
name = "headless_chrome"
version = "0.9.0"
authors = ["Alistair Roche <[email protected]>"]
edition = "2018"
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]
websocket = { version = "0.23", default_features = false, features = ["sync"] }
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = '1'
thiserror = '1'
log = "0.4"
rand = "0.7"
tempfile = "3"
base64 = "0.10"
derive_builder = "0.8"
which = "3.0"
ureq = { version = "0.11", optional = true }
directories = { version = "2.0", optional = true }
zip = { version = "^0.5.3", optional = true }
walkdir = { version = "2", optional = true }
[target.'cfg(windows)'.dependencies]
winreg = "0.6"
[dev-dependencies]
env_logger = "0.7"
chrono = { version = "0.4", default_features = false }
tiny_http = "0.6"
png = { version = "0.15" }
jpeg-decoder = { version = "0.1", default_features = false }
filepath = "0.1.1"
[build-dependencies]
auto_generate_cdp = "0.3.2"
[lib]
name = "headless_chrome"
path = "src/lib.rs"
[features]
default = []
fetch = [ "ureq", "directories", "zip", "walkdir" ]
nightly = []