2023-05-08 19:10:40 +02:00
|
|
|
[package]
|
|
|
|
name = "pingora-limits"
|
2024-07-12 20:01:07 +02:00
|
|
|
version = "0.3.0"
|
2023-05-08 19:10:40 +02:00
|
|
|
authors = ["Yuchen Wu <yuchen@cloudflare.com>"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
description = "A library for rate limiting and event frequency estimation"
|
2024-02-28 05:25:44 +01:00
|
|
|
edition = "2021"
|
|
|
|
repository = "https://github.com/cloudflare/pingora"
|
|
|
|
categories = ["algorithms"]
|
|
|
|
keywords = ["rate-limit", "pingora"]
|
2023-05-08 19:10:40 +02:00
|
|
|
|
2024-02-28 05:25:44 +01:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2023-05-08 19:10:40 +02:00
|
|
|
[lib]
|
|
|
|
name = "pingora_limits"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-02-28 05:25:44 +01:00
|
|
|
ahash = { workspace = true }
|
2023-05-08 19:10:40 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0"
|
|
|
|
dashmap = "5"
|
|
|
|
dhat = "0"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "benchmark"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[features]
|
|
|
|
dhat-heap = [] # for benchmark only
|