[package]
edition = "2024"
name = "rlevo"
version = "0.2.0"
authors = ["Anthony Torlucci"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deep Reinforcement Learning with Evolutionary Optimization"
documentation = "https://docs.rs/rlevo"
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]
box2d = ["rlevo-environments/box2d"]
custom-kernels = ["rlevo-evolution/custom-kernels"]
default = [
"box2d",
"locomotion",
"custom-kernels",
]
locomotion = ["rlevo-environments/locomotion"]
viz-report = [
"rlevo-benchmarks/report",
"rlevo-environments/record",
]
viz-tui = ["rlevo-benchmarks/tui"]
[lib]
name = "rlevo"
path = "src/lib.rs"
[[example]]
name = "ackley_showcase"
path = "examples/evo/ackley_showcase.rs"
[[example]]
name = "cartpole_random"
path = "examples/envs/classic/cartpole_random.rs"
[[example]]
name = "cartpole_timelimit"
path = "examples/envs/classic/cartpole_timelimit.rs"
[[example]]
name = "grid_door_key_scripted"
path = "examples/envs/grids/grid_door_key_scripted.rs"
[[example]]
name = "mountain_car_continuous_random"
path = "examples/envs/classic/mountain_car_continuous_random.rs"
[[example]]
name = "pendulum_random"
path = "examples/envs/classic/pendulum_random.rs"
[[example]]
name = "rastrigin_showcase"
path = "examples/evo/rastrigin_showcase.rs"
[[example]]
name = "sphere_showcase"
path = "examples/evo/sphere_showcase.rs"
[[test]]
name = "c51_integration"
path = "tests/c51_integration.rs"
[[test]]
name = "cartpole_report_smoke"
path = "tests/cartpole_report_smoke.rs"
required-features = ["viz-report"]
[[test]]
name = "ddpg_integration"
path = "tests/ddpg_integration.rs"
[[test]]
name = "dqn_integration"
path = "tests/dqn_integration.rs"
[[test]]
name = "evaluator_smoke"
path = "tests/evaluator_smoke.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "ppg_integration"
path = "tests/ppg_integration.rs"
[[test]]
name = "ppo_integration"
path = "tests/ppo_integration.rs"
[[test]]
name = "qrdqn_integration"
path = "tests/qrdqn_integration.rs"
[[test]]
name = "rastrigin_run_suite"
path = "tests/rastrigin_run_suite.rs"
[[test]]
name = "recording_episode_count"
path = "tests/recording_episode_count.rs"
required-features = ["viz-report"]
[[test]]
name = "sac_integration"
path = "tests/sac_integration.rs"
[[test]]
name = "swarm_rastrigin_suite"
path = "tests/swarm_rastrigin_suite.rs"
[[test]]
name = "td3_integration"
path = "tests/td3_integration.rs"
[[bench]]
name = "acrobot_rl"
path = "benches/acrobot_rl.rs"
harness = false
[[bench]]
name = "cartpole_rl"
path = "benches/cartpole_rl.rs"
harness = false
[[bench]]
name = "grid_empty_rl"
path = "benches/grid_empty_rl.rs"
harness = false
[[bench]]
name = "grid_memory_rl"
path = "benches/grid_memory_rl.rs"
harness = false
[[bench]]
name = "mountain_car_rl"
path = "benches/mountain_car_rl.rs"
harness = false
[[bench]]
name = "pendulum_rl"
path = "benches/pendulum_rl.rs"
harness = false
[dependencies.rlevo-core]
version = "0.2.0"
[dependencies.rlevo-environments]
version = "0.2.0"
default-features = false
[dependencies.rlevo-evolution]
version = "0.2.0"
default-features = false
[dependencies.rlevo-hybrid]
version = "0.2.0"
[dependencies.rlevo-reinforcement-learning]
version = "0.2.0"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.burn]
version = "0.21.0"
features = [
"wgpu",
"train",
"tui",
"metrics",
"flex",
]
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.rand]
version = "0.10.1"
[dev-dependencies.rand_distr]
version = "0.6.0"
[dev-dependencies.rayon]
version = "1.12"
[dev-dependencies.rlevo-benchmarks]
version = "0.2.0"
[dev-dependencies.rlevo-environments]
version = "0.2.0"
features = ["bench"]
[dev-dependencies.serde]
version = "1.0.228"
features = [
"derive",
"rc",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[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"