# 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-services"
version = "0.0.10"
authors = ["Neuraville Inc. <feagi@neuraville.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FEAGI Service Layer - Stable application boundary for transport adapters"
homepage = "https://feagi.org"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/feagi/feagi-core"

[features]
connectome-compression = ["lz4"]
connectome-io = ["feagi-npu-burst-engine/connectome-io"]
connectome-serialization = [
    "bincode",
    "connectome-compression",
]
default = [
    "std",
    "connectome-io",
]
no_std = []
plasticity = [
    "feagi-brain-development/plasticity",
    "dep:feagi-npu-plasticity",
]
std = [
    "tokio",
    "feagi-brain-development/async-tokio",
    "feagi-npu-burst-engine/async-tokio",
]
wasm = [
    "feagi-brain-development/wasm",
    "feagi-npu-burst-engine/wasm",
]

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.bincode]
version = "1.3"
optional = true

[dependencies.chrono]
version = "0.4"

[dependencies.feagi-brain-development]
version = "0.0.10"
default-features = false

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

[dependencies.feagi-npu-burst-engine]
version = "0.0.10"
optional = true
default-features = false

[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.lz4]
version = "1.28"
optional = true

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0.50"

[dependencies.tokio]
version = "1.0"
features = [
    "sync",
    "rt",
    "time",
    "rt-multi-thread",
]
optional = true

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
