[package]
edition = "2021"
name = "fugue-evo"
version = "0.3.1"
authors = ["Alex Nodeland"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An implementation of fugue for running evolutionary algorithms as Bayesian inference: priors and likelihoods as probabilistic programs, tempered SMC in trace space, annealed optimization, Pareto posteriors - plus a standalone classical EC toolkit"
homepage = "https://evo.fugue.run"
documentation = "https://docs.rs/fugue-evo"
readme = "README.md"
keywords = [
"genetic-algorithm",
"evolution",
"optimization",
"bayesian",
"ppl",
]
categories = [
"algorithms",
"science",
]
license = "MIT"
repository = "https://github.com/alexnodeland/fugue-evo"
[features]
checkpoint = []
classic = []
default = [
"std",
"parallel",
"checkpoint",
"ppl",
"classic",
]
parallel = ["rayon"]
ppl = ["dep:fugue-ppl"]
std = []
[lib]
name = "fugue_evo"
path = "src/lib.rs"
[[example]]
name = "bayesian_evolution"
path = "examples/bayesian_evolution.rs"
required-features = ["ppl"]
[[example]]
name = "checkpointing"
path = "examples/checkpointing.rs"
required-features = [
"classic",
"checkpoint",
]
[[example]]
name = "cma_es_example"
path = "examples/cma_es_example.rs"
required-features = ["classic"]
[[example]]
name = "hyperparameter_learning"
path = "examples/hyperparameter_learning.rs"
required-features = ["classic"]
[[example]]
name = "interactive_evolution"
path = "examples/interactive_evolution.rs"
required-features = ["classic"]
[[example]]
name = "island_model"
path = "examples/island_model.rs"
required-features = [
"parallel",
"classic",
]
[[example]]
name = "optimize_by_inference"
path = "examples/optimize_by_inference.rs"
required-features = [
"ppl",
"classic",
]
[[example]]
name = "rastrigin_benchmark"
path = "examples/rastrigin_benchmark.rs"
required-features = ["classic"]
[[example]]
name = "sphere_optimization"
path = "examples/sphere_optimization.rs"
required-features = ["classic"]
[[example]]
name = "symbolic_regression"
path = "examples/symbolic_regression.rs"
required-features = ["classic"]
[[example]]
name = "symbolic_regression_inference"
path = "examples/symbolic_regression_inference.rs"
required-features = ["ppl"]
[[test]]
name = "e-checkpoint_resume"
path = "tests/e-checkpoint_resume.rs"
[[test]]
name = "e-hyper_adaptive_ga"
path = "tests/e-hyper_adaptive_ga.rs"
[[test]]
name = "e-interactive_audit"
path = "tests/e-interactive_audit.rs"
[[test]]
name = "e_integration_bayesian"
path = "tests/e_integration_bayesian.rs"
[[test]]
name = "e_tests_nan_policy"
path = "tests/e_tests_nan_policy.rs"
[[test]]
name = "e_tests_seeded_determinism"
path = "tests/e_tests_seeded_determinism.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[dependencies.bincode]
version = "1.3"
[dependencies.fugue-ppl]
version = "0.2.1"
optional = true
[dependencies.nalgebra]
version = "0.33"
[dependencies.rand]
version = "0.8"
[dependencies.rand_chacha]
version = "0.3"
features = ["serde1"]
[dependencies.rand_distr]
version = "0.4"
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = ">=1.5, <1.7"
[dev-dependencies.tempfile]
version = "3.10"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[profile.release]
opt-level = "s"
lto = true