forked from sagebind/isahc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (80 loc) · 1.82 KB
/
Cargo.toml
File metadata and controls
95 lines (80 loc) · 1.82 KB
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
[package]
name = "isahc"
version = "0.9.2"
description = "The practical HTTP client that is fun to use."
authors = ["Stephen M. Coakley <me@stephencoakley.com>"]
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"
[package.metadata.docs.rs]
features = ["cookies", "json"]
[badges.maintenance]
status = "actively-developed"
[features]
default = ["http2", "static-curl", "text-decoding"]
cookies = ["chrono"]
http2 = ["curl/http2"]
json = ["serde", "serde_json"]
psl = ["parking_lot", "publicsuffix"]
spnego = ["curl-sys/spnego"]
static-curl = ["curl/static-curl"]
text-decoding = ["encoding_rs", "mime"]
middleware-api-preview = []
[dependencies]
bytes = "0.5"
crossbeam-channel = "0.4"
crossbeam-utils = "0.7"
curl = "0.4.25"
curl-sys = "0.4.26"
futures-channel = "0.3"
futures-io = "0.3"
http = "0.2"
lazy_static = "1"
log = "0.4"
slab = "0.4"
sluice = "0.5"
[dependencies.chrono]
version = "0.4"
optional = true
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dependencies.futures-util]
version = "0.3"
default-features = false
features = ["io"]
[dependencies.mime]
version = "0.3"
optional = true
[dependencies.parking_lot]
version = "0.10"
optional = true
[dependencies.publicsuffix]
version = "1.5"
default-features = false
optional = true
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dev-dependencies]
env_logger = "0.7"
flate2 = "1.0"
futures = "0.3"
indicatif = "0.14"
mockito = "0.25"
rayon = "1"
speculate = "0.1"
static_assertions = "1.1"
structopt = "0.3"
[[example]]
name = "json"
required-features = ["json", "serde/derive"]
[workspace]
members = ["benchmarks"]