mcp-host 0.1.12

Production-grade MCP host crate for building Model Context Protocol servers
Documentation
# 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"
rust-version = "1.92"
name = "mcp-host"
version = "0.1.12"
authors = ["Abdelkader Boudih <oss@seuros.com>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade MCP host crate for building Model Context Protocol servers"
readme = "README.md"
keywords = [
    "mcp",
    "protocol",
    "llm",
    "ai",
    "async",
]
categories = [
    "development-tools",
    "asynchronous",
    "network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/seuros/mcphost-rs"

[features]
default = ["stdio"]
full = [
    "stdio",
    "http",
    "macros",
]
http = [
    "rama",
    "rama-http-backend",
    "tokio-stream",
    "async-stream",
]
macros = ["mcp-host-macros"]
stdio = ["tokio/io-std"]

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

[dependencies.arc-swap]
version = "1.7"

[dependencies.async-stream]
version = "0.3"
optional = true

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

[dependencies.base64]
version = "0.22"

[dependencies.breaker-machines]
version = "0.7"

[dependencies.chrono]
version = "0.4"

[dependencies.chrono-machines]
version = "0.3"
features = ["async"]

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.mcp-host-macros]
version = "0.1.12"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rama]
version = "0.3.0-alpha.4"
features = [
    "http",
    "tcp",
]
optional = true
default-features = false

[dependencies.rama-http-backend]
version = "0.3.0-alpha.4"
optional = true

[dependencies.rand]
version = "0.9"

[dependencies.schemars]
version = "1.0.0-alpha.20"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.state-machines]
version = "0.8"
features = ["dynamic"]

[dependencies.thiserror]
version = "2.0"

[dependencies.throttle-machines]
version = "0.1"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.tokio-test]
version = "0.4"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("inspect"))']