-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
Cargo.toml
113 lines (95 loc) · 2.27 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[package]
name = "isahc"
version = "1.7.3"
description = "The practical HTTP client that is fun to use."
authors = ["Stephen M. Coakley <[email protected]>"]
license = "MIT"
keywords = ["http", "request", "client", "async", "curl"]
categories = ["web-programming::http-client"]
repository = "https://github.com/sagebind/isahc"
documentation = "https://docs.rs/isahc/"
readme = "README.md"
edition = "2018"
exclude = [".*", "benchmarks", "media", "src/cookies/psl/list/*/"]
[package.metadata.docs.rs]
features = ["cookies", "json", "nightly"]
[badges.maintenance]
status = "actively-developed"
[features]
default = ["http2", "static-curl", "text-decoding"]
cookies = ["httpdate"]
http2 = ["curl/http2"]
json = ["serde", "serde_json"]
nightly = []
psl = ["httpdate", "parking_lot", "publicsuffix"]
spnego = ["curl-sys/spnego"]
static-curl = ["curl/static-curl"]
static-ssl = ["curl/static-ssl"]
text-decoding = ["encoding_rs", "mime"]
unstable-interceptors = []
[dependencies]
async-channel = "1.4.2"
castaway = "0.1.1"
crossbeam-utils = ">=0.7.0, <0.9.0"
curl = "0.4.36"
curl-sys = "0.4.55"
event-listener = "5.3.1"
futures-lite = "1.10.1"
http = "0.2.1"
log = "0.4"
once_cell = "1"
polling = "2"
slab = "0.4"
sluice = "0.5.4"
url = "2.1"
waker-fn = "1"
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dependencies.httpdate]
version = "1"
optional = true
[dependencies.mime]
version = "0.3"
optional = true
[dependencies.parking_lot]
version = ">=0.9.0, <0.12.0"
optional = true
[dependencies.publicsuffix]
version = "2.0.6"
features = ["std"]
optional = true
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.tracing]
version = "0.1.17"
features = ["log"]
[dependencies.tracing-futures]
version = "0.2"
default-features = false
features = ["std", "std-future"]
[dev-dependencies]
env_logger = "0.9"
flate2 = "1.0.3"
indicatif = "0.15"
rayon = "1"
static_assertions = "1.1"
structopt = "0.3"
tempfile = "3.1"
test-case = "2.0"
tracing-subscriber = ">=0.2.12, <0.4.0"
serde_json = "1"
[dev-dependencies.testserver]
path = "testserver"
[[example]]
name = "cookies"
required-features = ["cookies"]
[[example]]
name = "json"
required-features = ["json", "serde/derive"]
[workspace]
members = ["benchmarks", "testserver"]