[package]
edition = "2021"
rust-version = "1.77"
name = "sparsemap"
version = "4.0.0"
authors = ["Gregory Burd <greg@burd.me>"]
build = false
exclude = [
"ci",
"examples/wire_emit.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A sparse, compressed bitmap with run-length encoding, optimized for long runs of consecutive bits. 100% safe Rust, no_std, zero dependencies; reads the C sparsemap library's serialized format."
homepage = "https://codeberg.org/gregburd/sparsemap"
documentation = "https://docs.rs/sparsemap"
readme = "README.md"
keywords = [
"bitmap",
"bitset",
"compressed",
"rle",
"roaring",
]
categories = [
"data-structures",
"compression",
"no-std",
]
license = "MIT"
repository = "https://codeberg.org/gregburd/sparsemap"
[features]
default = ["std"]
std = []
[lib]
name = "sparsemap"
path = "src/lib.rs"
[[example]]
name = "freelist"
path = "examples/freelist.rs"
[[test]]
name = "proptest_model"
path = "tests/proptest_model.rs"
[[test]]
name = "wire_compat"
path = "tests/wire_compat.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
[profile.bench]
lto = true
codegen-units = 1