[package]
edition = "2024"
rust-version = "1.85.1"
name = "bit_ops"
version = "0.2.4"
authors = ["Philipp Schuster <phip1611@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Common bit-oriented operations on primitive integer types with a focus on
`no_std` and `const` compatibility. Unlike other crates that provide tooling to
create sophisticated high-level types with bitfields, the focus of `bit_ops` is
on raw primitive integer types.
"""
homepage = "https://github.com/phip1611/bit_ops"
documentation = "https://docs.rs/bit_ops"
readme = "README.md"
keywords = [
"bitwise",
"bits",
]
categories = [
"no-std",
"no-std::no-alloc",
"data-structures",
"encoding",
]
license = "MIT"
repository = "https://github.com/phip1611/bit_ops"
[lib]
name = "bit_ops"
path = "src/lib.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[bench]]
name = "bitmap_iter"
path = "benches/bitmap_iter.rs"
harness = false
[dependencies.paste]
version = "1.0.15"
[dev-dependencies.bitvec]
version = "1.0.1"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.rand]
version = "0.9.2"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1