# 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 = "symbolic_regression"
version = "0.3.0"
build = false
include = [
    "Cargo.toml",
    "README.md",
    "LICENSE*",
    "src/**",
    "tests/**",
    "examples/**",
    "benches/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of SymbolicRegression.jl."
homepage = "https://github.com/MilesCranmer/symbolic_regression.rs"
documentation = "https://docs.rs/symbolic_regression"
readme = "README.md"
keywords = [
    "symbolic-regression",
    "genetic-programming",
]
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/MilesCranmer/symbolic_regression.rs"

[features]
cli = [
    "progress",
    "dep:anyhow",
    "dep:clap",
    "dep:csv",
    "dep:calamine",
    "dep:serde",
    "dep:serde_json",
]
default = ["progress"]
progress = [
    "dep:indicatif",
    "dep:console",
]

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

[[bin]]
name = "symreg"
path = "src/bin/symreg.rs"
required-features = ["cli"]

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

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

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.calamine]
version = "0.32"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.console]
version = "0.16"
optional = true

[dependencies.csv]
version = "1"
optional = true

[dependencies.dynamic_expressions]
version = "0.3.0"

[dependencies.indicatif]
version = "0.18"
optional = true

[dependencies.ndarray]
version = "0.17"

[dependencies.ndarray-rand]
version = "0.16"

[dependencies.num-traits]
version = "0.2"

[dependencies.rand]
version = "0.9"

[dependencies.rand_distr]
version = "0.5"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dev-dependencies.rust_xlsxwriter]
version = "0.92"

[dev-dependencies.tempfile]
version = "3"
