[package] name = "hi_sparse_bitset" authors = ["Andrey Diduh "] license = "MIT OR Apache-2.0" version = "0.6.1" 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"] # Makes LevelMasks, LevelMasksIterExt and impl_bitset! visible. # Having them hidden by default prevents your code completion tool # from showing you irrelevant implementation methods # (even if you did not import them). impl = [] # You don't need this. Original legacy iterator. simple_iter = [] # simd bitblocks support (128,256 bit configs) simd = ["dep:wide"] [dependencies] wide = { version = "0.7.13", optional = true } [dev-dependencies] 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)', 'cfg(hisparsebitset_test_smallbitset)', ] [package.metadata.docs.rs] features = ["impl"] rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "custom_bitset" required-features = ["impl"] [[example]] name = "custom_bitset_simple" required-features = ["impl"] [[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