-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (38 loc) · 1.08 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
[package]
name = "tower-server"
version = "0.3.0"
edition = "2021"
license = "MIT"
description = "High-level hyper server interfacing with tower"
repository = "https://github.com/audunhalland/tower-server"
keywords = ["tower", "hyper", "http", "server", "rustls"]
authors = ["Audun Halland <[email protected]>"]
[features]
signal = ["tokio/signal"]
url = ["dep:url"]
unstable = []
[dependencies]
anyhow = "1"
arc-swap = "1.7"
futures-util = "0.3"
http = "1"
http-body = "1"
hyper = { version = "1", default-features = false }
hyper-util = { version = "0.1", features = ["tokio", "server", "http1", "http2"] }
pin-utils = "0.1"
rustls = { version = "0.23", default-features = false }
tokio = { version = "1", features = ["macros", "sync"] }
tokio-rustls = { version = "0.26", default-features = false }
tokio-util = { version = "0.7", default-features = false }
tower-service = "0.3"
tracing = "0.1"
url = { version = "2", features = ["serde"], optional = true }
[dev-dependencies]
axum = "0.8"
rustls-pki-types = "1"
[package.metadata.docs.rs]
features = [
"signal",
"url",
"unstable",
]