forked from softprops/hyperlocal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 959 Bytes
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 959 Bytes
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
[package]
name = "hyperlocal"
version = "0.8.0"
authors = ["softprops <d.tangren@gmail.com>"]
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 = "2018"
[dependencies]
hex = "0.4"
hyper = "0.14"
tokio = { version = "1.0", features = ["net"] }
pin-project-lite = "0.2"
[dev-dependencies]
tokio = { version = "1.0", features = ["io-std", "io-util", "macros", "rt-multi-thread"] }
[features]
default = []
client = [
"hyper/client",
"hyper/http1",
]
server = [
"hyper/http1",
"hyper/server"
]
[[example]]
name = "client"
required-features = ["client", "hyper/runtime"]
[[example]]
name = "server"
required-features = ["server", "hyper/runtime"]
[[test]]
name = "server_client"
required-features = ["client", "server", "hyper/runtime"]