[package]
edition = "2024"
rust-version = "1.85"
name = "hwd"
version = "0.1.1"
authors = ["Sebastiano Vigna <sebastiano.vigna@unimi.it>"]
build = false
exclude = [
"c-check",
"CLAUDE.md",
".github",
".pre-commit-config.yaml",
".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of the test by Blackman and Vigna for Hamming-weight dependencies in pseudorandom number generators"
readme = "README.md"
keywords = [
"hamming-weight",
"prng",
"testing",
"statistics",
]
categories = [
"algorithms",
"mathematics",
"command-line-utilities",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/vigna/hwd-rs"
[package.metadata.docs.rs]
features = ["incr"]
[features]
_prng = []
incr = ["_prng"]
well512a = ["_prng"]
xoroshiro1024 = ["_prng"]
xoroshiro1024plus = ["_prng"]
xoroshiro128 = ["_prng"]
xoroshiro128plus = ["_prng"]
xorshift1024 = ["_prng"]
xorshift1024plus = ["_prng"]
xorshift128 = ["_prng"]
xorshift128plus = ["_prng"]
[lib]
name = "hwd"
path = "src/lib.rs"
[[bin]]
name = "hwd"
path = "src/main.rs"
[[test]]
name = "test_parallel"
path = "tests/test_parallel.rs"
[dependencies.bytemuck]
version = "1.13.1"
features = ["derive"]
[dependencies.clap]
version = "4.1.6"
features = [
"derive",
"wrap_help",
]
[dependencies.mmap-rs]
version = "0.7.0"
[dependencies.rayon]
version = "1"
[dev-dependencies.anyhow]
version = "1.0.79"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"