rlevo-evolution 0.3.0

Evolutionary algorithms for rlevo (internal crate — use `rlevo` for the full API)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rlevo-evolution"
version = "0.3.0"
authors = ["Anthony Torlucci"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Evolutionary algorithms for rlevo (internal crate — use `rlevo` for the full API)"
readme = "README.md"
keywords = [
    "evolution",
    "deep-learning",
    "burn",
    "neural-network",
]
categories = [
    "science",
    "algorithms",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/anthonytorlucci/rlevo"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--html-in-header",
    "katex-header.html",
]

[features]
custom-kernels = ["dep:cubecl"]
default = ["custom-kernels"]

[lib]
name = "rlevo_evolution"
path = "src/lib.rs"

[[test]]
name = "backend_parity"
path = "tests/backend_parity.rs"

[[test]]
name = "cma_es_convergence"
path = "tests/cma_es_convergence.rs"

[[test]]
name = "coevolution_forgetting"
path = "tests/coevolution_forgetting.rs"

[[test]]
name = "determinism"
path = "tests/determinism.rs"

[[test]]
name = "eda_smoke"
path = "tests/eda_smoke.rs"

[[test]]
name = "neuroevolution_bounded_nas"
path = "tests/neuroevolution_bounded_nas.rs"

[[test]]
name = "neuroevolution_neat"
path = "tests/neuroevolution_neat.rs"

[[test]]
name = "neuroevolution_supervised"
path = "tests/neuroevolution_supervised.rs"

[[bench]]
name = "neat_xor"
path = "benches/neat_xor.rs"
harness = false

[[bench]]
name = "operators"
path = "benches/operators.rs"
harness = false

[dependencies.burn]
version = "0.21.0"
features = [
    "wgpu",
    "train",
    "tui",
    "metrics",
    "flex",
]

[dependencies.cubecl]
version = "0.10.0"
features = ["wgpu"]
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.10.1"

[dependencies.rand_distr]
version = "0.6.0"

[dependencies.rayon]
version = "1.12"

[dependencies.rlevo-core]
version = "0.3.0"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"
features = [
    "std",
    "bit-set",
]
default-features = false

[lints.clippy]
default_trait_access = "allow"
multiple_crate_versions = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"