# 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 = "soul-core"
version = "0.8.0"
authors = ["AMAI Labs <team@amai.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async agentic runtime for Rust — steerable agent loops, context management, multi-provider LLM abstraction, virtual filesystem, WASM-ready"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "ai",
    "async",
    "wasm",
]
categories = [
    "asynchronous",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/AMAI-LABS/soul-core"

[features]
default = ["native"]
native = [
    "tokio/full",
    "tokio/test-util",
    "reqwest/stream",
    "tracing-subscriber",
    "reqwest-eventsource",
]
wasm = [
    "uuid/js",
    "reqwest/json",
    "getrandom/js",
]

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.2"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false

[dependencies.reqwest-eventsource]
version = "0.6"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "rt",
]

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

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

[dev-dependencies.assert_matches]
version = "1.5"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.wiremock]
version = "0.6"
