hakmem 0.2.0

Hilbert and Morton curves with range covers, rank/select, Myers edit distance, PEXT/PDEP and byte lanes, built from bit tricks with property-tested laws. no_std, no dependencies.
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.89"
name = "hakmem"
version = "0.2.0"
authors = ["Michal <acannix@proton.me>"]
build = false
exclude = [
    "/.github",
    "/nix",
    "/flake.*",
    "/codegen",
    "/public-api",
    "/release",
    "/.coderabbit.yaml",
    "/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hilbert and Morton curves with range covers, rank/select, Myers edit distance, PEXT/PDEP and byte lanes, built from bit tricks with property-tested laws. no_std, no dependencies."
readme = "README.md"
keywords = [
    "hilbert-curve",
    "morton",
    "rank-select",
    "levenshtein",
    "bit-manipulation",
]
categories = [
    "algorithms",
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mightsleep/hakmem"

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

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

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

[[example]]
name = "fuzzy"
path = "examples/fuzzy.rs"

[[example]]
name = "geo_index"
path = "examples/geo_index.rs"

[[example]]
name = "json_structure"
path = "examples/json_structure.rs"

[[example]]
name = "primes"
path = "examples/primes.rs"

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

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

[[test]]
name = "isa"
path = "tests/isa.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 = "hilbert"
path = "benches/hilbert.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.fast_hilbert]
version = "2.1"

[dev-dependencies.lindel]
version = "0.1"

[dev-dependencies.morton]
version = "0.3"

[dev-dependencies.morton-encoding]
version = "2"

[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"

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

[lints.clippy]
missing_errors_doc = "allow"
missing_inline_in_public_items = "warn"
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"