mcp-methods 0.3.32

Reusable utility methods for MCP servers — pure-Rust library
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 = "2021"
name = "mcp-methods"
version = "0.3.32"
authors = ["Kristian Kollsgard"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable utility methods for MCP servers — pure-Rust library"
homepage = "https://github.com/kkollsga/mcp-methods"
documentation = "https://docs.rs/mcp-methods"
readme = "README.md"
keywords = [
    "mcp",
    "ai",
    "rmcp",
    "agent",
    "stdio",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/kkollsga/mcp-methods"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
features = ["server"]

[features]
default = ["server"]
server = [
    "dep:rmcp",
    "dep:tokio",
    "dep:serde_yaml",
    "dep:schemars",
    "dep:anyhow",
    "dep:thiserror",
    "dep:clap",
    "dep:tracing",
    "dep:tracing-subscriber",
    "dep:notify",
    "dep:notify-debouncer-mini",
]

[lib]
name = "mcp_methods"
crate-type = ["rlib"]
path = "src/lib.rs"

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

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.fancy-regex]
version = "0.17"

[dependencies.grep-matcher]
version = "0.1"

[dependencies.grep-regex]
version = "0.1"

[dependencies.grep-searcher]
version = "0.1"

[dependencies.ignore]
version = "0.4"

[dependencies.notify]
version = "8"
optional = true

[dependencies.notify-debouncer-mini]
version = "0.6"
optional = true

[dependencies.regex]
version = "1"

[dependencies.rmcp]
version = "1.6"
features = [
    "server",
    "macros",
    "transport-io",
    "schemars",
]
optional = true

[dependencies.schemars]
version = "1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.thiserror]
version = "2"
optional = true

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

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

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

[dependencies.ureq]
version = "2"
features = ["json"]

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