# 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 = "feagi-evolutionary"
version = "0.0.7"
authors = ["Neuraville Inc. <feagi@neuraville.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Evolution and Genome Management - Genotype operations for FEAGI"
homepage = "https://feagi.org"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/feagi/feagi-core"

[features]
async-tokio = ["tokio"]
default = []

[lib]
name = "feagi_evolutionary"
crate-type = ["rlib"]
path = "src/lib.rs"

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

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

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.feagi-npu-neural]
version = "0.0.7"

[dependencies.feagi-observability]
version = "=0.0.7"

[dependencies.feagi-structures]
version = "=0.0.7"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0.50"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.env_logger]
version = "0.11"

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

[target.'cfg(not(target_family = "wasm"))'.dependencies.rand]
version = "0.8"

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1.48.0"
features = ["fs"]
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3"
features = [
    "Window",
    "Crypto",
]
