# 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 = "abu-mcp"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP protocol implementation"
readme = "README.md"
keywords = [
    "llm",
    "agent",
]
license = "MIT"
resolver = "1"

[features]
default = []
fastmcp = [
    "abu-macros",
    "abu-tool",
]

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

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

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

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

[dependencies.abu-macros]
version = "0.2.0"
optional = true
package = "abu-macros"

[dependencies.abu-tool]
version = "0.2.0"
optional = true
package = "abu-tool"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.derive_builder]
version = "0.20.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = [
    "io-std",
    "process",
    "sync",
    "rt",
    "io-util",
    "net",
]

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
