funcperm 0.2.0

Cycle-walking functional permutations on [0..n)
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.85"
name = "funcperm"
version = "0.2.0"
authors = ["Sebastiano Vigna <sebastiano.vigna@unimi.it>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cycle-walking functional permutations on [0..n)"
readme = "README.md"
keywords = [
    "permutation",
    "hash",
    "bijection",
    "no-std",
]
categories = [
    "no-std",
    "algorithms",
]
license = "Apache-2.0 OR LGPL-2.1-or-later"
repository = "https://github.com/vigna/funcperm-rs"

[features]
optimize = [
    "dep:clap",
    "dep:rand",
    "dep:rayon",
    "dep:getrandom",
]

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

[[bin]]
name = "optimize"
path = "src/bin/optimize.rs"
required-features = ["optimize"]

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

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

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.getrandom]
version = "0.4"
optional = true

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.rayon]
version = "1"
optional = true

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

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.rand]
version = "0.10.0"

[dev-dependencies.statrs]
version = "0.18"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2
debug-assertions = false
overflow-checks = false