# 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-brain-development"
version = "0.0.10"
authors = ["Neuraville Inc. <feagi@neuraville.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Brain Development Utilities - Synaptogenesis and Connectivity"
homepage = "https://feagi.org"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/feagi/feagi-core"

[features]
async-tokio = []
default = [
    "parallel",
    "plasticity",
]
parallel = ["rayon"]
plasticity = ["dep:feagi-npu-plasticity"]
wasm = []

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

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

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

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

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

[dependencies.ahash]
version = "0.8"
features = [
    "std",
    "serde",
    "compile-time-rng",
]
default-features = false

[dependencies.chrono]
version = "0.4"

[dependencies.feagi-evolutionary]
version = "0.0.10"

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

[dependencies.feagi-npu-plasticity]
version = "0.0.10"
optional = true

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

[dependencies.feagi-state-manager]
version = "0.0.10"
default-features = false

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

[dependencies.ndarray]
version = "0.17.1"
features = ["rayon"]

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.11"
optional = true

[dependencies.roaring]
version = "0.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0.50"

[dependencies.tracing]
version = "0.1"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh64"]

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

[dev-dependencies.feagi-npu-runtime]
version = "0.0.10"
features = ["std"]

[dev-dependencies.proptest]
version = "1.4"

[target.'cfg(not(target_family = "wasm"))'.dependencies.feagi-npu-burst-engine]
version = "0.0.10"
features = [
    "async-tokio",
    "std",
]
default-features = false

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

[target.'cfg(target_family = "wasm")'.dependencies.feagi-npu-burst-engine]
version = "0.0.10"
features = ["wasm"]
default-features = false

[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_family = "wasm")'.dependencies.rand]
version = "0.8"
features = ["getrandom"]
default-features = false
