-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
53 lines (48 loc) · 1.96 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 = "dyer"
version = "3.3.3"
authors = ["hominee"]
edition = "2018"
license = "MIT"
keywords = [ "Request-Response", "data-processing", "web-crawling", "web-framework", "spider"]
categories = ["network-programming", "web-programming"]
description = " dyer is designed for reliable, flexible and fast Request-Response based service, including data processing, web-crawling and so on, providing some friendly, flexible, comprehensive features without compromising speed."
homepage = "https://crates.io/crates/dyer"
repository = "https://github.com/hominee/dyer"
documentation = "https://docs.rs/dyer"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = {version="1.0.123", features=["derive"]}
tokio = { version = "1.20.1", features = [ "rt-multi-thread", "macros"] }
futures-util = "0.3.17"
async-trait = "0.1.51"
#futures-executor ={ version= "0.3.17" }
http = {version = "0.2.5" }
hyper = { version = "0.14.20", features = ["client", "http1", "stream"] }
hyper-tls ="0.5.0"
brotli2 = { version = "0.3.2", optional = true }
flate2 = { version = "1.0.20", optional = true }
signal-hook = "0.1.17"
log = "0.4.13"
dyer-macros = {path = "dyer-macros/", version = "0.2.0"}
libxml = { version = "0.3.1", optional = true }
hyper-proxy = { version = "0.9.1", optional = true }
base64 = { version = "0.13.0", optional = true }
sxd-document = { version="0.3.2", optional = true }
sxd-xpath = { version="0.4.2", optional = true }
regex = { version="1.7.0", optional = true }
[features]
std = []
default = []
compression = ["default", "dep:brotli2", "dep:flate2"]
xpath-alpha = ["dep:sxd-document", "dep:sxd-xpath", "dep:regex"]
xpath-stable = ["dep:libxml"]
proxy = ["dep:hyper-proxy", "dep:base64"]
full = ["default", "compression", "xpath-alpha", "proxy"]
[dev-dependencies]
simple_logger = "1.11.0"
#serde_json = "1.0.57"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]