[package]
edition = "2024"
rust-version = "1.89"
name = "simd-popcnt"
version = "0.2.0"
build = "build.rs"
exclude = [
".github",
"rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast bit population count (number of 1 bits) of a byte slice using POPCNT, AVX2, AVX512, ARM NEON and ARM SVE."
readme = "README.md"
keywords = [
"popcount",
"popcnt",
"simd",
"bitcount",
"hamming",
]
categories = ["algorithms"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kimwalisch/simd-popcnt"
[features]
default = ["std"]
std = []
[lib]
name = "simd_popcnt"
path = "src/lib.rs"
[[example]]
name = "benchmark"
path = "examples/benchmark.rs"