-
Notifications
You must be signed in to change notification settings - Fork 44
/
Cargo.toml
67 lines (58 loc) · 2.01 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
[package]
name = "minreq"
version = "2.12.0"
authors = ["Jens Pitkanen <[email protected]>"]
description = "Simple, minimal-dependency HTTP client"
documentation = "https://docs.rs/minreq"
homepage = "https://github.com/neonmoe/minreq"
repository = "https://github.com/neonmoe/minreq"
readme = "README.md"
keywords = ["http", "https", "client", "request", "json"]
categories = ["web-programming::http-client"]
license = "ISC"
edition = "2018"
[badges]
travis-ci = { repository = "neonmoe/minreq" }
maintenance = { status = "passively-maintained" }
[dependencies]
# For the urlencoding feature:
urlencoding = { version = "2.1.0", optional = true }
# For the punycode feature:
punycode = { version = "0.4.1", optional = true }
# For the json-using-serde feature:
serde = { version = "1.0.101", optional = true }
serde_json = { version = "1.0.0", optional = true }
# For the proxy feature:
base64 = { version = "0.12", optional = true }
# For the https features:
rustls = { version = "0.21.1", optional = true }
rustls-native-certs = { version = "0.6.1", optional = true }
once_cell = { version = "1.14.0", optional = true }
webpki-roots = { version = "0.25.2", optional = true }
rustls-webpki = { version = "0.101.0", optional = true }
openssl = { version = "0.10.29", optional = true }
log = { version = "0.4.0" }
openssl-probe = { version = "0.1", optional = true }
native-tls = { version = "0.2", optional = true }
[dev-dependencies]
tiny_http = "0.12"
chrono = "0.4.0"
[package.metadata.docs.rs]
features = ["json-using-serde", "proxy", "https", "punycode"]
[features]
https = ["https-rustls"]
https-rustls = ["rustls", "once_cell", "webpki-roots", "rustls-webpki"]
https-rustls-probe = ["https-rustls", "rustls-native-certs"]
https-bundled = ["openssl/vendored"]
https-bundled-probe = ["https-bundled", "openssl-probe"]
https-native = ["native-tls"]
json-using-serde = ["serde", "serde_json"]
proxy = ["base64"]
[[example]]
name = "hello"
[[example]]
name = "iterator"
[[example]]
name = "json"
required-features = ["json-using-serde"]
# vim: ft=conf