# 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 = "2024"
name = "microagents-core"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core microagents framework library"
readme = "README.md"
keywords = [
    "ai",
    "agents",
    "framework",
    "rust",
]
license = "MIT"
repository = "https://github.com/AstraBert/microagents"

[features]
default = ["token_estimation"]
token_estimation = ["dep:tokie"]

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

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

[dependencies.async-stream]
version = "0.3.6"

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

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

[dependencies.dashmap]
version = "6"

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures-core]
version = "0.3.32"

[dependencies.futures-util]
version = "0.3.32"

[dependencies.jsonschema]
version = "0.46.5"

[dependencies.markdown-frontmatter]
version = "0.5.1"
features = ["full"]

[dependencies.microagents-events]
version = "0.1.0"

[dependencies.microagents-storage]
version = "0.1.0"

[dependencies.regex]
version = "1.12.3"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokie]
version = "0.0.10"
features = ["hf"]
optional = true

[dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dependencies.ultrafast-models-sdk]
version = "0.1.6"
features = [
    "openai",
    "anthropic",
    "groq",
    "mistral",
    "cohere",
    "azure",
    "bedrock",
    "standalone",
    "ollama",
]

[dependencies.uuid]
version = "1.23.1"
features = ["v4"]

[dev-dependencies.serial_test]
version = "3.5.0"
