[package]
name = "feagi-brain-development"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Brain Development Utilities - Synaptogenesis and Connectivity"
[lib]
crate-type = ["rlib"]
name = "feagi_brain_development"
[dependencies]
feagi-npu-neural = { version = "0.0.21", path = "../feagi-npu/neural" }
feagi-evolutionary = { version = "0.0.21", path = "../feagi-evolutionary" }
feagi-npu-plasticity = { version = "0.0.21", path = "../feagi-npu/plasticity", optional = true }
feagi-structures = { workspace = true }
feagi-state-manager = { version = "0.0.21", path = "../feagi-state-manager", default-features = false }
rayon = { workspace = true, optional = true }
ndarray = { workspace = true }
ahash = { workspace = true }
roaring = "0.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
xxhash-rust = { version = "0.8", features = ["xxh64"] }
thiserror = { workspace = true }
chrono = "0.4"
feagi-observability = { workspace = true }
tracing = "0.1"
once_cell = "1.19"
parking_lot = "0.12"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
rand = { version = "0.8", features = ["std", "std_rng"] }
feagi-npu-burst-engine = { version = "0.0.21", path = "../feagi-npu/burst-engine", default-features = false, features = ["async-tokio", "std"] }
[target.'cfg(target_family = "wasm")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
feagi-npu-burst-engine = { version = "0.0.21", path = "../feagi-npu/burst-engine", default-features = false, features = ["wasm"] }
[features]
default = ["parallel", "plasticity"]
parallel = ["rayon"]
plasticity = ["dep:feagi-npu-plasticity"]
wasm = []
async-tokio = []
[dev-dependencies]
criterion = "0.5"
proptest = "1.4"
feagi-npu-runtime = { version = "0.0.21", path = "../feagi-npu/runtime", features = ["std"] }