[package]
edition = "2024"
rust-version = "1.91.0"
name = "ts_bitset"
version = "0.3.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "compact, efficient, non-allocating bitset"
readme = "README.md"
keywords = [
"tailscale",
"bitset",
"set",
]
categories = [
"data-structures",
"no-std::no-alloc",
]
license = "BSD-3-Clause"
repository = "https://github.com/tailscale/tailscale-rs"
[features]
default = ["lut"]
lut = []
[lib]
name = "ts_bitset"
path = "src/lib.rs"
[[bench]]
name = "bitset256"
path = "benches/bitset256.rs"
harness = false
[dependencies.cfg-if]
version = "1.0"
[dependencies.static_assertions]
version = "1.1"
[dev-dependencies.divan]
version = "0.1"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
multiple_crate_versions = "allow"
too_many_arguments = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.rust]
closure_returning_async_block = "warn"
let-underscore = "warn"
missing_docs = "warn"
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
private_intra_doc_links = "deny"