-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
55 lines (44 loc) · 1.57 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
[package]
name = "hyperstone"
version = "0.0.1"
authors = ["Fangdun Tsai <[email protected]>"]
edition = "2018"
description = "A mystical, carved stone that boosts the fervor of the holder."
repository = "https://github.com/viz-rs/hyperstone"
documentation = "https://github.com/viz-rs/hyperstone/"
readme = "README.md"
keywords = ["http", "web", "hyper"]
license = "MIT/Apache-2.0"
[features]
default = ["query", "cookie", "json", "form", "multipart", "tcp", "http1"]
json = ["serde", "serde_json"]
form = ["serde", "serde_urlencoded"]
query = ["serde", "serde_urlencoded"]
multipart = ["form-data"]
ws = ["tokio-tungstenite"]
sse = []
tcp = ["hyper/tcp"]
uds = ["tokio/net"]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
[dependencies]
anyhow = "1.0.47"
async-trait = "0.1.51"
path-tree = "0.2.2"
futures-util = "0.3.17"
hyper = { version = "0.14.15", features = ["server", "stream"] }
bytes = "1.1.0"
mime = "0.3.16"
form-data = { version = "0.3.2", optional = true }
serde = { version = "1.0.130", optional = true }
serde_json = { version = "1.0.71", optional = true }
serde_urlencoded = { version = "0.7.0", optional = true }
cookie = { version = "0.15.1", features = ["percent-encode"], optional = true }
tokio-tungstenite = { version = "0.16.0", optional = true }
tower-service = "0.3.1"
tower-layer = "0.3.1"
tower-http = { version = "0.1.2", features = ["auth", "trace"] }
tokio = { version = "1.14", default-features = false, features = ["net"], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
tracing-subscriber = "0.3.1"