ganesh 0.28.0

Minimization and sampling in Rust, simplified
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 = "2021"
rust-version = "1.83.0"
name = "ganesh"
version = "0.28.0"
build = false
exclude = [
    "src/main.rs",
    "*.png",
    "*.svg",
    "*.gif",
    "*.pkl",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimization and sampling in Rust, simplified"
homepage = "https://github.com/denehoffman/ganesh"
documentation = "https://docs.rs/ganesh"
readme = "README.md"
keywords = [
    "optimization",
    "minimization",
    "mcmc",
    "sampling",
]
categories = [
    "science",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/denehoffman/ganesh"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "./docs/docs-header.html",
]

[features]
backend-ndarray = [
    "dep:ndarray",
    "dep:ndarray-linalg",
]
default = []
python = [
    "dep:pyo3",
    "dep:numpy",
]

[lib]
name = "ganesh"
crate-type = ["rlib"]
path = "src/lib.rs"
bench = false

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

[[example]]
name = "multimodal_ess"
path = "examples/multimodal_ess/main.rs"

[[example]]
name = "multistart"
path = "examples/multistart/main.rs"

[[example]]
name = "multivariate_normal_ess"
path = "examples/multivariate_normal_ess/main.rs"

[[example]]
name = "multivariate_normal_fit"
path = "examples/multivariate_normal_fit/main.rs"

[[example]]
name = "periodic_fit"
path = "examples/periodic_fit/main.rs"

[[example]]
name = "pso"
path = "examples/pso/main.rs"

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

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

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

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

[dependencies.ctrlc]
version = "3.5.2"

[dependencies.dyn-clone]
version = "1.0.20"

[dependencies.fastrand]
version = "2.4.1"

[dependencies.logsumexp]
version = "0.1.0"

[dependencies.nalgebra]
version = "0.35.0"
features = ["serde-serialize"]

[dependencies.ndarray]
version = "0.17.2"
optional = true

[dependencies.ndarray-linalg]
version = "0.18.1"
optional = true
default-features = false

[dependencies.numpy]
version = "0.29.0"
optional = true

[dependencies.parking_lot]
version = "0.12.5"
features = ["serde"]

[dependencies.pyo3]
version = "0.29.0"
features = ["experimental-inspect"]
optional = true

[dependencies.rustfft]
version = "6.4.1"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.spec_math]
version = "0.1.6"

[dependencies.tabled]
version = "0.20.0"
features = ["std"]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.criterion]
version = "5.0.1"
features = ["html_reports"]
package = "codspeed-criterion-compat"

[profile.profiling]
debug = 2
inherits = "release"