[package]
edition = "2024"
name = "rlevo-evolution"
version = "0.1.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 = [
"evolutionary",
"deep-learning",
"burn",
"neural-network",
]
categories = [
"science",
"algorithms",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/anthonytorlucci/rlevo"
[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 = "determinism"
path = "tests/determinism.rs"
[[bench]]
name = "operators"
path = "benches/operators.rs"
harness = false
[dependencies.burn]
version = "0.20.1"
features = [
"wgpu",
"train",
"tui",
"metrics",
"ndarray",
]
[dependencies.cubecl]
version = "0.9.0"
features = ["wgpu"]
optional = true
[dependencies.rand]
version = "0.10.1"
[dependencies.rand_distr]
version = "0.6.0"
[dependencies.rlevo-core]
version = "0.1.0"
[dependencies.serde]
version = "1.0.228"
features = [
"derive",
"rc",
]
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[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"