mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
e0ade326ed
--- Specified quick_cache version because older version was being loaded on build Includes-commit:3f5419e92d
Includes-commit:de83f0a612
Replicated-from: https://github.com/cloudflare/pingora/pull/248
44 lines
970 B
TOML
44 lines
970 B
TOML
[package]
|
|
name = "TinyUFO"
|
|
version = "0.3.0"
|
|
authors = ["Yuchen Wu <yuchen@cloudflare.com>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
description = "In-memory cache implementation with TinyLFU as the admission policy and S3-FIFO as the eviction policy"
|
|
repository = "https://github.com/cloudflare/pingora"
|
|
categories = ["algorithms", "caching"]
|
|
keywords = ["cache", "pingora"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "tinyufo"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
ahash = { workspace = true }
|
|
flurry = "0.5"
|
|
parking_lot = "0"
|
|
crossbeam-queue = "0"
|
|
crossbeam-skiplist = "0"
|
|
|
|
[dev-dependencies]
|
|
rand = "0"
|
|
lru = "0"
|
|
zipf = "7"
|
|
moka = { version = "0", features = ["sync"] }
|
|
dhat = "0"
|
|
quick_cache = "0.6"
|
|
triomphe = "<=0.1.11" # 0.1.12 requires Rust 1.76
|
|
|
|
[[bench]]
|
|
name = "bench_perf"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "bench_hit_ratio"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "bench_memory"
|
|
harness = false
|