aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-limits/Cargo.toml
blob: b35d2de9b8631bf924c3b50d7265510d6264b300 (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
[package]
name = "pingora-limits"
version = "0.4.0"
authors = ["Yuchen Wu <yuchen@cloudflare.com>"]
license = "Apache-2.0"
description = "A library for rate limiting and event frequency estimation"
edition = "2021"
repository = "https://github.com/cloudflare/pingora"
categories = ["algorithms"]
keywords = ["rate-limit", "pingora"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "pingora_limits"
path = "src/lib.rs"

[dependencies]
ahash = { workspace = true }

[dev-dependencies]
rand = "0"
dashmap = "5"
dhat = "0"
float-cmp = "0.9.0"

[[bench]]
name = "benchmark"
harness = false

[features]
dhat-heap = [] # for benchmark only