# 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 = "aa-core"
version = "0.0.1-alpha.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure domain logic for Agent Assembly — no_std compatible"
readme = false
license = "Apache-2.0"
repository = "https://github.com/ai-agent-assembly/agent-assembly"

[features]
alloc = ["dep:sha2"]
default = ["std"]
schemars = ["dep:schemars"]
serde = [
    "dep:serde",
    "aa-security?/serde",
]
std = [
    "alloc",
    "dep:aa-security",
    "dep:async-trait",
    "dep:thiserror",
    "dep:chrono",
    "dep:dirs",
    "dep:serde_json",
    "dep:serde_yaml",
    "serde?/std",
]
test-utils = []

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

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

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

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

[dependencies.aa-security]
version = "0.0.1-alpha.8"
optional = true

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

[dependencies.cfg-if]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true

[dependencies.dirs]
version = "6"
optional = true

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

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

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

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.sha2]
version = "0.11"
optional = true

[dependencies.thiserror]
version = "2"
optional = true

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

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
all = "warn"
complexity = "warn"
correctness = "deny"
perf = "warn"
style = "warn"
suspicious = "deny"
