ganesh 0.26.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.69.0"
name = "ganesh"
version = "0.26.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]
default = []
f32 = []
python = [
    "dep:pyo3",
    "dep:numpy",
]
python-module = [
    "python",
    "pyo3/extension-module",
]

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

[[example]]
name = "multimodal_ess"
path = "examples/multimodal_ess/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 = "profile_baseline_metrics"
path = "examples/profile_baseline_metrics.rs"

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

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

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

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

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

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

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

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

[dependencies.ctrlc]
version = "3.5.2"

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

[dependencies.fastrand]
version = "2.3.0"

[dependencies.fastrand-contrib]
version = "0.1.0"

[dependencies.logsumexp]
version = "0.1.0"

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

[dependencies.num]
version = "0.4.3"

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

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

[dependencies.pyo3]
version = "0.28.3"
features = [
    "abi3",
    "generate-import-lib",
    "auto-initialize",
]
optional = true

[dependencies.rustfft]
version = "6.4.1"

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

[dependencies.serde-pickle]
version = "1.2.0"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.spec_math]
version = "0.1.6"

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

[dependencies.thiserror]
version = "2.0.18"

[dependencies.typetag]
version = "0.2.21"

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

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

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