-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
48 lines (40 loc) · 1.47 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
[package]
name = "ritelinked"
version = "0.3.2"
authors = ["DataSlime <opensource@dataslime.com>"]
edition = "2021"
description = "HashMap-like containers that hold their key-value pairs in a user controllable order"
repository = "https://github.com/dataslime/ritelinked"
documentation = "https://docs.rs/ritelinked"
readme = "README.md"
keywords = ["data-structures", "no_std", "linked-hash-map", "linked-hash-set", "amortized"]
categories = ["data-structures", "no-std"]
license = "MIT OR Apache-2.0"
[features]
default = ["ahash-amortized", "inline-more-amortized"]
ahash-compile-time-rng = ["ahash_/compile-time-rng"]
ahash = [ "ahash_", "hashbrown/ahash" ]
serde = [ "serde_", "hashbrown/serde" ]
inline-more = [ "hashbrown/inline-more" ]
amortized = ["griddle"]
ahash-amortized = [ "ahash", "amortized", "griddle/ahash" ]
serde-amortized = [ "serde", "amortized", "griddle/serde" ]
inline-more-amortized = [ "inline-more", "amortized", "griddle/inline-more" ]
[dependencies]
ahash_ = { version = "0.7", default-features = false, optional = true, package = "ahash" }
hashbrown = { version = "0.11", default-features = false }
griddle = { version = "0.5.1", default-features = false, optional = true }
serde_ = { version = "1.0", default-features = false, optional = true, package = "serde" }
[dev-dependencies]
# test
fnv = "1.0.7"
serde_test = "1.0"
# bench
criterion = "0.3"
hashlink = "0.7"
linked-hash-map = "0.5"
[[bench]]
name = "lru"
harness = false
[profile.release]
debug = true