forked from softprops/hyperlocal
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
54 lines (48 loc) · 1.25 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
[package]
name = "hyperlocal"
version = "0.9.1"
authors = ["softprops <[email protected]>"]
description = "Hyper bindings for Unix domain sockets"
homepage = "https://github.com/softprops/hyperlocal"
repository = "https://github.com/softprops/hyperlocal"
keywords = ["hyper", "unix", "sockets", "http"]
license = "MIT"
readme = "README.md"
edition = "2021"
[dependencies]
hex = "0.4"
http-body-util = { version = "0.1", optional = true }
hyper = "1.3"
hyper-util = { version = "0.1.2", optional = true }
tokio = { version = "1.35", default-features = false, features = ["net"] }
tower-service = { version = "0.3", optional = true }
pin-project-lite = "0.2"
[dev-dependencies]
thiserror = "1.0"
tokio = { version = "1.35", features = [
"io-std",
"io-util",
"macros",
"rt-multi-thread",
] }
[features]
default = ["client", "server"]
client = [
"http-body-util",
"hyper/client",
"hyper/http1",
"hyper-util/client-legacy",
"hyper-util/http1",
"hyper-util/tokio",
"tower-service",
]
server = ["hyper/http1", "hyper/server", "hyper-util/tokio"]
[[example]]
name = "client"
required-features = ["client"]
[[example]]
name = "server"
required-features = ["server"]
[[test]]
name = "server_client"
required-features = ["client", "server"]