# 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 = "lellm-agent"
version = "0.4.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent Runtime for LeLLM — ToolUseLoop, Executor, Fallback"
documentation = "https://docs.rs/lellm-agent"
readme = false
license = "MIT"
repository = "https://github.com/lellm-ai/lellm"
resolver = "2"

[features]
default = []

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

[[example]]
name = "calculator_graph"
path = "examples/calculator_graph.rs"

[[example]]
name = "calculator_graph_mock"
path = "examples/calculator_graph_mock.rs"

[[example]]
name = "simple_agent"
path = "examples/simple_agent.rs"

[[example]]
name = "streaming_agent"
path = "examples/streaming_agent.rs"

[[example]]
name = "system_prompt"
path = "examples/system_prompt.rs"

[[example]]
name = "tool_definition"
path = "examples/tool_definition.rs"

[[example]]
name = "tool_use"
path = "examples/tool_use.rs"

[[example]]
name = "weather_agent"
path = "examples/weather_agent.rs"

[[example]]
name = "weather_agent_prompt"
path = "examples/weather_agent_prompt.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

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

[dependencies.indexmap]
version = "2"

[dependencies.lellm-core]
version = "0.4"
features = ["anyhow"]

[dependencies.lellm-graph]
version = "0.4"

[dependencies.lellm-provider]
version = "0.4"

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

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

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "blocking",
]

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

[dev-dependencies.urlencoding]
version = "2"

[dev-dependencies.yunli]
version = "0.1"
