[package]
edition = "2024"
rust-version = "1.85"
name = "bobyqa"
version = "0.1.1"
authors = ["Paweł Lenartowicz <pawellenartowicz@europe.com>"]
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dependency-free BOBYQA: derivative-free minimization of a box-constrained function from values alone — a faithful pure-Rust port of PRIMA."
documentation = "https://docs.rs/bobyqa"
readme = "README.md"
keywords = [
"optimization",
"bobyqa",
"derivative-free",
"minimization",
"powell",
]
categories = [
"mathematics",
"science",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pawlenartowicz/bobyqa"
[features]
count-kernels = []
[lib]
name = "bobyqa"
path = "src/lib.rs"
[[bench]]
name = "solver"
path = "benches/solver.rs"
harness = false
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[lints.clippy.all]
level = "deny"
priority = 0
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.float_cmp]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1