aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-limits/Cargo.toml
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2023-05-08 10:10:40 -0700
committerYuchen Wu <[email protected]>2023-05-08 10:33:45 -0700
commit0bca116c1027a878469b72352e1e9e3916e85dde (patch)
tree9d4474666644fc24798513f850f2f17bc04885a8 /pingora-limits/Cargo.toml
downloadpingora-0bca116c1027a878469b72352e1e9e3916e85dde.tar.gz
pingora-0bca116c1027a878469b72352e1e9e3916e85dde.zip
Pingora-limits initial commit
Diffstat (limited to 'pingora-limits/Cargo.toml')
-rw-r--r--pingora-limits/Cargo.toml26
1 files changed, 26 insertions, 0 deletions
diff --git a/pingora-limits/Cargo.toml b/pingora-limits/Cargo.toml
new file mode 100644
index 0000000..88ee11d
--- /dev/null
+++ b/pingora-limits/Cargo.toml
@@ -0,0 +1,26 @@
+[package]
+name = "pingora-limits"
+version = "0.1.0"
+authors = ["Yuchen Wu <[email protected]>"]
+license = "Apache-2.0"
+description = "A library for rate limiting and event frequency estimation"
+edition = "2018"
+
+[lib]
+name = "pingora_limits"
+path = "src/lib.rs"
+
+[dependencies]
+ahash = "0"
+
+[dev-dependencies]
+rand = "0"
+dashmap = "5"
+dhat = "0"
+
+[[bench]]
+name = "benchmark"
+harness = false
+
+[features]
+dhat-heap = [] # for benchmark only