heuropt 0.11.0

A practical Rust toolkit for heuristic single-, multi-, and many-objective optimization.
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 = "heuropt"
version = "0.11.0"
authors = ["Stephen Waits <steve@waits.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A practical Rust toolkit for heuristic single-, multi-, and many-objective optimization."
homepage = "https://github.com/swaits/heuropt"
documentation = "https://docs.rs/heuropt"
readme = "README.md"
keywords = [
    "optimization",
    "evolutionary",
    "nsga",
    "pareto",
    "moead",
]
categories = [
    "algorithms",
    "science",
    "mathematics",
    "simulation",
]
license = "MIT"
repository = "https://github.com/swaits/heuropt"

[features]
async = ["dep:futures"]
default = []
parallel = ["dep:rayon"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

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

[[example]]
name = "async_eval"
path = "examples/async_eval.rs"
required-features = ["async"]

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

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

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

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

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

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

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

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

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

[[example]]
name = "pick_a_car"
path = "examples/pick_a_car.rs"
required-features = ["serde"]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
]
optional = true
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.rand_distr]
version = "0.5"

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

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

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[profile.release]
lto = "thin"
codegen-units = 1