[package]
edition = "2024"
name = "minuit2"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust port of CERN Minuit2 parameter optimization engine"
readme = "README.md"
keywords = [
"optimization",
"minimization",
"fitting",
"physics",
]
categories = [
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ricardofrantz/minuit2-rs"
[features]
parallel = ["rayon"]
python = ["pyo3"]
[lib]
name = "minuit2"
path = "src/lib.rs"
[[bin]]
name = "ref_compare_runner"
path = "src/bin/ref_compare_runner.rs"
[[example]]
name = "cern_dimuon"
path = "examples/cern_dimuon/main.rs"
[[example]]
name = "nist_strd"
path = "examples/nist_strd/main.rs"
[[example]]
name = "noaa_co2"
path = "examples/noaa_co2/main.rs"
[[example]]
name = "usgs_earthquakes"
path = "examples/usgs_earthquakes/main.rs"
[[test]]
name = "application"
path = "tests/application.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "contours"
path = "tests/contours.rs"
[[test]]
name = "hesse"
path = "tests/hesse.rs"
[[test]]
name = "migrad"
path = "tests/migrad.rs"
[[test]]
name = "migrad_analytical"
path = "tests/migrad_analytical.rs"
[[test]]
name = "minimize"
path = "tests/minimize.rs"
[[test]]
name = "minos"
path = "tests/minos.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "root_reference_covariance"
path = "tests/root_reference_covariance.rs"
[[test]]
name = "root_reference_minuit2"
path = "tests/root_reference_minuit2.rs"
[[test]]
name = "scan"
path = "tests/scan.rs"
[[test]]
name = "simplex"
path = "tests/simplex.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.nalgebra]
version = "0.33"
[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]
optional = true
[dependencies.rayon]
version = "1.10"
optional = true
[dev-dependencies.criterion]
version = "0.5"