hakmem 0.1.0

Bit tricks as a lawful algebra: rank/select, runs, PEXT/PDEP, Morton codes, SWAR byte lanes, Myers edit distance, one trait, property-tested laws, no_std.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "hakmem"
version = "0.1.0"
authors = ["Michal <acannix@proton.me>"]
build = false
exclude = [
    "/.github",
    "/nix",
    "/flake.*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bit tricks as a lawful algebra: rank/select, runs, PEXT/PDEP, Morton codes, SWAR byte lanes, Myers edit distance, one trait, property-tested laws, no_std."
readme = "README.md"
keywords = [
    "bit-manipulation",
    "rank-select",
    "edit-distance",
    "swar",
    "no-std",
]
categories = [
    "algorithms",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mightsleep/hakmem"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
default = []
portable = []

[lib]
name = "hakmem"
path = "src/lib.rs"

[[test]]
name = "exhaustive"
path = "tests/exhaustive.rs"

[[test]]
name = "laws"
path = "tests/laws.rs"

[[test]]
name = "miri"
path = "tests/miri.rs"

[[test]]
name = "myers"
path = "tests/myers.rs"

[[test]]
name = "rank9"
path = "tests/rank9.rs"

[[bench]]
name = "compact"
path = "benches/compact.rs"
harness = false

[[bench]]
name = "incumbents"
path = "benches/incumbents.rs"
harness = false

[[bench]]
name = "rank9"
path = "benches/rank9.rs"
harness = false

[[bench]]
name = "select"
path = "benches/select.rs"
harness = false

[dependencies]

[dev-dependencies.broadword]
version = "0.2"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.strsim]
version = "0.11"

[dev-dependencies.sucds]
version = "0.9"

[dev-dependencies.sux]
version = "0.14"
default-features = false

[dev-dependencies.triple_accel]
version = "0.4"

[dev-dependencies.vers-vecs]
version = "1"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"