47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[workspace]
|
|
members = ["optimizer-derive"]
|
|
|
|
[package]
|
|
name = "optimizer"
|
|
version = "0.5.0"
|
|
edition = "2024"
|
|
rust-version = "1.88"
|
|
license = "MIT"
|
|
authors = ["Manuel Raimann <raimannma@outlook.de"]
|
|
description = "A Rust library for optimization algorithms."
|
|
repository = "https://github.com/raimannma/rust-optimizer"
|
|
documentation = "https://docs.rs/optimizer"
|
|
keywords = ["optimization", "hyperparameter", "tpe", "grid-search", "bayesian"]
|
|
categories = ["algorithm", "science", "data-structures"]
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
rand = "0.9"
|
|
thiserror = "2"
|
|
parking_lot = "0.12"
|
|
tokio = { version = "1", features = ["sync", "rt-multi-thread"], optional = true }
|
|
optimizer-derive = { version = "0.1.0", path = "optimizer-derive", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
async = ["dep:tokio"]
|
|
derive = ["dep:optimizer-derive"]
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
|
|
optimizer-derive = { version = "0.1.0", path = "optimizer-derive" }
|
|
|
|
[[example]]
|
|
name = "async_api_optimization"
|
|
path = "examples/async_api_optimization.rs"
|
|
required-features = ["async"]
|
|
|
|
[[example]]
|
|
name = "ml_hyperparameter_tuning"
|
|
path = "examples/ml_hyperparameter_tuning.rs"
|
|
|
|
[[example]]
|
|
name = "parameter_api"
|
|
path = "examples/parameter_api.rs"
|
|
required-features = ["derive"]
|