forked from warlock-labs/postel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
71 lines (64 loc) · 2.23 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
authors = ["0xAlcibiades <alcibiades@warlock.xyz>"]
categories = ["asynchronous", "network-programming", "web-programming"]
description = "High level server for hyper and tower."
edition = "2021"
homepage = "https://github.com/warlock-labs/postel"
keywords = ["tcp", "tls", "http", "hyper", "tokio"]
license = "MIT"
name = "postel"
readme = "README.md"
repository = "https://github.com/warlock-labs/postel"
version = "0.7.1"
[dependencies]
async-stream = "0.3.6"
bytes = "1.9.0"
futures = "0.3.31"
http = "1.2.0"
http-body = "1.0.1"
http-body-util = "0.1.2"
hyper = "1.5.2"
hyper-util = { version = "0.1.10", features = ["server", "tokio", "server-auto", "server-graceful", "service", "http2"] }
pin-project = "1.1.7"
pprof = { version = "0.13.0", features = ["flamegraph"], optional = true }
ring = "0.17.8"
rustls = { version = "0.23.20", features = ["zlib", "aws_lc_rs"] }
rustls-pemfile = "2.2.0"
tokio = { version = "1.42.0", features = ["net", "macros", "rt-multi-thread", "time"] }
tokio-rustls = { version = "0.26.1", features = ["aws_lc_rs"] }
tokio-stream = { version = "0.1.17", features = ["net"] }
tokio-util = "0.7.13"
tower = { version = "0.5.2", features = ["util"] }
tracing = "0.1.41"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports", "async_tokio"] }
hyper = { version = "1.5.2", features = ["client"] }
hyper-rustls = { version = "0.27.5", features = ["http1", "http2"] }
hyper-util = { version = "0.1.10", features = ["client", "client-legacy", "http2"] }
lazy_static = "1.5.0"
num_cpus = "1.16.0"
once_cell = "1.20.2"
rcgen = "0.13.1"
reqwest = { version = "0.12.9", features = ["rustls-tls", "http2"] }
ring = "0.17.8"
tokio = { version = "1.42", features = ["rt-multi-thread", "net", "test-util", "time", "signal"] }
tokio-util = { version = "0.7.13", features = ["compat"] }
tonic = { version = "0.12.3", features = ["tls"] }
tonic-health = "0.12.3"
tonic-reflection = "0.12.3"
tonic-types = "0.12.3"
tracing-subscriber = "0.3.19"
[[bench]]
name = "hello_world_tower_hyper_tls_tcp"
harness = false
[[example]]
name = "tower_service_fn"
path = "examples/tower_service_fn.rs"
[[example]]
name = "tonic"
path = "examples/tonic.rs"
[features]
default = []
dev-profiling = ["pprof"]
[profile.release]
debug = true