# 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 = "defect-mcp"
version = "0.1.0-alpha.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model Context Protocol (MCP) client integration for the defect agent."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/vast-enterprise/defect"

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

[dependencies.agent-client-protocol-schema]
version = "=0.13.2"
features = ["tracing"]

[dependencies.bytes]
version = "1"

[dependencies.defect-agent]
version = "0.1.0-alpha.1"

[dependencies.defect-http]
version = "0.1.0-alpha.1"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"

[dependencies.hyper-util]
version = "0.1"
features = [
    "client",
    "client-legacy",
]

[dependencies.rmcp]
version = "1"
features = [
    "client",
    "client",
    "transport-child-process",
    "transport-streamable-http-client",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.sse-stream]
version = "0.2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "io-std",
    "sync",
    "fs",
    "process",
    "signal",
    "time",
]

[dependencies.tracing]
version = "0.1"

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

[lints.clippy]
too_many_arguments = "deny"
