blob: 110b6d1a27c67e69fb7e083dca3f6b72e55f29e5 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
[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
|