-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (36 loc) · 1.36 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
[package]
name = "zeptohttpc"
description = "minimal HTTP client using http and httparse crates"
version = "0.10.2"
authors = ["Adam Reichold <[email protected]>"]
edition = "2021"
rust-version = "1.60"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/zeptohttpc"
repository = "https://github.com/adamreichold/zeptohttpc"
keywords = ["http", "https", "client", "request", "response"]
categories = ["network-programming", "web-programming", "web-programming::http-client"]
[features]
encoding_rs = ["dep:encoding_rs"]
flate2 = ["dep:flate2"]
json = ["dep:serde", "dep:serde_json"]
tls = ["tls-webpki-roots"]
tls-webpki-roots = ["rustls", "dep:webpki-roots", "dep:once_cell"]
tls-native-roots = ["rustls", "dep:rustls-native-certs", "dep:once_cell"]
rustls = ["dep:rustls"]
native-tls = ["dep:native-tls"]
[dependencies]
encoding_rs = { version = "0.8", optional = true }
flate2 = { version = "1.0", optional = true }
http = "1.0"
httparse = "1.3"
native-tls = { version = "0.2", optional = true }
once_cell = { version = "1.0", optional = true }
rustls = { version = "0.23", optional = true }
rustls-native-certs = { version = "0.8", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
webpki-roots = { version = "0.26", optional = true }
[package.metadata.docs.rs]
all-features = true