# 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 = "2021"
rust-version = "1.89"
name = "allframe-mcp"
version = "0.1.26"
authors = ["AllFrame Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP (Model Context Protocol) server for AllFrame - Expose APIs as LLM-callable tools"
homepage = "https://all-source-os.github.io/all-frame"
documentation = "https://docs.rs/allframe"
readme = "README.md"
keywords = [
    "mcp",
    "llm",
    "ai",
    "tools",
    "claude",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/all-source-os/all-frame"

[features]
default = []
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

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

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

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

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

[dependencies.allframe-core]
version = "0.1.26"
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = [
    "full",
    "signal",
]

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]
optional = true

[dev-dependencies.env_logger]
version = "0.11"

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

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

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

[dev-dependencies.uuid]
version = "1.0"
features = ["v4"]
