-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
61 lines (51 loc) · 1.4 KB
/
Cargo.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "caches"
version = "0.2.9"
authors = ["Al Liu <scygliu1@gmail.com>"]
description = "This is a Rust implementation for popular caches (support no_std)."
homepage = "https://github.com/al8n/caches-rs"
repository = "https://github.com/al8n/caches-rs.git"
documentation = "https://docs.rs/caches/"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["lru", "cache", "tinylfu", "no_std", "data-structures"]
categories = ["algorithms", "data-structures", "no-std"]
edition = "2018"
[[bench]]
name = "lru_cache"
harness = false
[[bench]]
name = "two_queue_cache"
harness = false
[[bench]]
name = "arc_cache"
harness = false
[[bench]]
name = "segmented_cache"
harness = false
[[bench]]
name = "wtinylfu_cache"
harness = false
[target.'cfg(target_family = "wasm")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
[features]
default = ["std"]
std = ["rand", "rand/std", "rand/std_rng", "bitvec/std"]
nightly = ["rand/nightly"]
[dependencies]
bitvec = { version = "1", default-features = false }
cfg-if = "1.0.0"
hashbrown = { version = "0.14", optional = true }
libm = {version = "0.2.8", optional = true}
rand = {version = "0.8", optional = true}
[dev-dependencies]
scoped_threadpool = "0.1.*"
stats_alloc = "0.1.*"
criterion = "0.5.1"
fnv = "1.0.7"
rand = "0.8.4"
rustc-hash = "1.0"
cascara = "0.1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]