blob: 3989735e146e2af72b2e640e165d59ee0fbdb40e (
plain)
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
|
[package]
name = "ratelimit"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
shared = { path = "../../libs/shared" }
proto = { path = "../../libs/proto" }
leash = { path = "../../libs/leash" }
hyper = "0.14"
tokio = { version = "1", features = ["rt"] }
serde = { version = "1.0.8", features = ["derive"] }
twilight-http-ratelimiting = { git = "https://github.com/MatthieuCoder/twilight.git" }
anyhow = "*"
tracing = "*"
tracing-opentelemetry = "0.18.0"
opentelemetry = "0.18.0"
opentelemetry-http = "0.7.0"
tonic = "0.8.3"
tokio-stream = "0.1.11"
redis = { version = "0.22.1", features = ["cluster", "connection-manager", "tokio-comp"] }
[dev-dependencies]
criterion = { version = "0.4", features = ["async_tokio"] }
tokio-test = "*"
tracing-test = "0.2.3"
tracing-subscriber = "*"
env_logger = "*"
test-log = { version = "0.2.11", features = ["log", "trace"] }
[[bench]]
name = "bucket"
harness = false
|