-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (65 loc) · 1.59 KB
/
Cargo.toml
File metadata and controls
70 lines (65 loc) · 1.59 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
[package]
name = "oxhttp"
version = "0.3.2"
authors = ["Tpt <thomas@pellissier-tanon.fr>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/oxhttp"
keywords = ["HTTP"]
repository = "https://github.com/oxigraph/oxhttp"
description = """
Simple implementation of HTTP 1.1 (both client and server)
"""
edition = "2021"
rust-version = "1.74"
[dependencies]
flate2 = { version = "1", optional = true }
http = "1.1"
httparse = "1.8"
url = { version = "2.4", optional = true }
native-tls = { version = "0.2.11", optional = true }
rustls = { version = "0.23.27", optional = true, default-features = false, features = [
"std",
"tls12",
] }
rustls-pki-types = { version = "1.11", optional = true }
rustls-platform-verifier = { version = ">=0.6,<0.8", optional = true }
webpki-roots = { version = ">=0.26,<2.0", optional = true }
[dev-dependencies]
codspeed-criterion-compat = "4"
[features]
default = ["client", "server"]
native-tls = ["dep:native-tls"]
rustls-ring-native = [
"dep:rustls",
"rustls/ring",
"dep:rustls-platform-verifier",
"dep:rustls-pki-types",
]
rustls-ring-webpki = [
"dep:rustls",
"rustls/ring",
"dep:rustls-pki-types",
"dep:webpki-roots",
]
rustls-aws-lc-native = [
"dep:rustls",
"rustls/aws_lc_rs",
"dep:rustls-platform-verifier",
"dep:rustls-pki-types",
]
rustls-aws-lc-webpki = [
"dep:rustls",
"rustls/aws_lc_rs",
"dep:rustls-pki-types",
"dep:webpki-roots",
]
client = ["dep:url"]
server = []
flate2 = ["dep:flate2"]
[[bench]]
name = "lib"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]