# 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 = "2021"
name = "lgp-core"
version = "1.7.5"
authors = ["Urmzd Mukhammadnaim; urmzd@dal.ca"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to solve problems using linear genetic programming"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/urmzd/linear-gp"

[features]
gym = ["dep:gymnasia"]

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

[[example]]
name = "cart_pole"
path = "examples/cart_pole.rs"
required-features = ["gym"]

[[example]]
name = "iris_classification"
path = "examples/iris_classification.rs"

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

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

[[bench]]
name = "performance_after_training"
path = "benches/performance_after_training.rs"
harness = false
required-features = ["gym"]

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.1.8"
features = ["derive"]

[dependencies.config]
version = "0.13"

[dependencies.csv]
version = "1.1"

[dependencies.derivative]
version = "2.2"

[dependencies.derive_builder]
version = "0.12"

[dependencies.derive_more]
version = "0.99"

[dependencies.glob]
version = "0.3.1"

[dependencies.gymnasia]
version = "3.0"
optional = true
default-features = false

[dependencies.itertools]
version = "0.10"

[dependencies.lazy_static]
version = "1.4"

[dependencies.rand]
version = "0.8.5"

[dependencies.rand_xoshiro]
version = "0.6"

[dependencies.rayon]
version = "1.7"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.strum]
version = "0.24"
features = ["derive"]

[dependencies.strum_macros]
version = "0.24"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"
features = ["attributes"]

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
    "std",
    "ansi",
]
default-features = false

[dependencies.uuid]
version = "1.2.2"
features = [
    "v4",
    "serde",
]

[dev-dependencies.criterion]
version = "0.4.0"

[dev-dependencies.itertools]
version = "0.10"
