-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (68 loc) · 1.87 KB
/
Cargo.toml
File metadata and controls
80 lines (68 loc) · 1.87 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "hi_sparse_bitset"
authors = ["Andrey Didukh <tower120@gmail.com>"]
license = "MIT OR Apache-2.0"
version = "0.7.3"
edition = "2021"
repository = "https://github.com/tower120/hi_sparse_bitset"
keywords = ["hierarchical", "sparse", "bitset", "bitmap", "container"]
categories = ["data-structures"]
description = "Hierarchical sparse bitset. Incredibly high performance. Compact memory usage."
exclude = ["/doc", "/.github"]
[features]
default = ["simd"]
# simd bitblocks support (128,256 bit configs)
simd = ["dep:wide"]
# serde support.
serde = ["dep:serde", "dep:base64", "dep:arrayvec", "wide/serde"]
[dependencies]
wide = { version = "0.7.28", optional = true }
serde = { version = "1.0", features = ["serde_derive"], optional = true }
arrayvec = { version = "0.7", optional = true }
base64 = { version = "0.22", optional = true }
[dev-dependencies]
anyhow = "1"
tempfile = "3"
serde_json = "1.0"
bincode = { version = "2.0", features = ["serde"] }
rand = "0.8"
itertools = "0.11"
criterion = "0.5.1"
cfg-if = "1"
# for benchmarks
hibitset = "0.6.4"
roaring = "0.10.2"
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(hisparsebitset_test_NoCache)',
'cfg(hisparsebitset_test_FixedCache)',
'cfg(hisparsebitset_test_DynamicCache)',
'cfg(hisparsebitset_test_64)',
'cfg(hisparsebitset_test_128)',
'cfg(hisparsebitset_test_256)',
'cfg(hisparsebitset_test_bitset)',
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "iteration_bench"
path = "benches/iteration.rs"
harness = false
[[bench]]
name = "intersection_bench"
path = "benches/intersection.rs"
harness = false
[[bench]]
name = "union_bench"
path = "benches/union.rs"
harness = false
[[bench]]
name = "insert_bench"
path = "benches/insert.rs"
harness = false
[[bench]]
name = "deserialize"
path = "benches/deserialize.rs"
harness = false