blob: 385e7146d263c746c84fac2bd9320f139fd7f297 (
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
|
[package]
name = "pingora-limits"
version = "0.1.2"
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"
[[bench]]
name = "benchmark"
harness = false
[features]
dhat-heap = [] # for benchmark only
|