-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
28 lines (26 loc) · 850 Bytes
/
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
[package]
name = "little-loadshedder"
description = "Latency-based load-shedding hyper/tower middleware"
version = "0.2.0"
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/Skepfyr/little-loadshedder"
keywords = ["hyper", "middleware", "load"]
categories = ["network-programming"]
exclude = ["metrics"]
[dependencies]
metrics = { version = "0.20", optional = true }
tokio = { version = "1", default-features = false, features = ["sync"] }
tower = { version = "0.4", features = ["util"] }
[dev-dependencies]
dialoguer = "0.11"
futures = "0.3"
http-body-util = "0.1.0"
hyper = { version = "1.2", features = ["full"] }
hyper-util = { version = "0.1.3", features = ["full"] }
metrics = "0.20"
metrics-exporter-prometheus = "0.13"
rand = "0.8"
structopt = "0.3"
tokio = { version = "1", features = ["full"] }
tower = "0.4"