# 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-mcp"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP (Model Context Protocol) Client for LeLLM"
documentation = "https://docs.rs/lellm-mcp"
readme = false
license = "MIT"
repository = "https://github.com/lellm-ai/lellm"
resolver = "2"

[features]
bridge = ["lellm-agent"]
default = [
    "stdio",
    "bridge",
]
stdio = []

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

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

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

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

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

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

[dependencies.indexmap]
version = "2"

[dependencies.lellm-agent]
version = "0.2"
optional = true

[dependencies.lellm-core]
version = "0.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.tracing]
version = "0.1"
