[package]
edition = "2021"
name = "scirs2-optimize"
version = "0.1.4"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimization module for SciRS2 (scirs2-optimize)"
readme = "README.md"
keywords = [
"optimization",
"minimize",
"scientific",
"scipy",
"numerical",
]
categories = [
"science",
"mathematics",
"algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/scirs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async = [
"tokio",
"futures",
]
default = ["parallel"]
parallel = ["scirs2-core/parallel"]
python = ["scirs2-core/python"]
[lib]
name = "scirs2_optimize"
path = "src/lib.rs"
[[example]]
name = "convergence_diagnostics_example"
path = "examples/convergence_diagnostics_example.rs"
[[example]]
name = "optimize_advanced_demo"
path = "examples/optimize_advanced_demo.rs"
[[test]]
name = "advanced_basic_test"
path = "tests/advanced_basic_test.rs"
[[test]]
name = "global"
path = "tests/global.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "simple_integration"
path = "tests/simple_integration.rs"
[[bench]]
name = "scipy_comparison_bench"
path = "benches/scipy_comparison_bench.rs"
harness = false
[dependencies.argmin]
version = "0.11.0"
default-features = false
[dependencies.futures]
version = "0.3.31"
optional = true
[dependencies.scirs2-core]
version = "0.1.4"
features = [
"simd",
"parallel",
"linalg",
"gpu",
"random",
"array",
]
[dependencies.scirs2-linalg]
version = "0.1.4"
[dependencies.scirs2-sparse]
version = "0.1.4"
[dependencies.scirs2-stats]
version = "0.1.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.statrs]
version = "0.18.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.49.0"
features = ["full"]
optional = true
[dev-dependencies.approx]
version = "0.5.1"
[dev-dependencies.chrono]
version = "0.4.43"
features = ["serde"]
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dev-dependencies.serde_json]
version = "1.0"
[lints.clippy]
expect_used = "allow"
unwrap_used = "warn"
[lints.rust]
dead_code = "allow"
mismatched_lifetime_syntaxes = "allow"
unknown_lints = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_imports = "allow"
unused_mut = "allow"
unused_variables = "allow"