tools-kit 0.0.1

Portable Local and MCP tool execution with narrow extension traits.
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.99"
name = "tools-kit"
version = "0.0.1"
build = false
include = [
    "src/**",
    "examples/**",
    "tests/**",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable Local and MCP tool execution with narrow extension traits."
documentation = "https://docs.rs/tools-kit"
readme = "README.md"
keywords = [
    "tools",
    "sdk",
    "mcp",
    "execution",
    "runtime",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/jecsand838/ai-kit"
resolver = "2"

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

[features]
mcp-server = [
    "dep:axum",
    "dep:futures-core",
    "rmcp/server",
    "rmcp/transport-streamable-http-server",
    "rmcp/transport-streamable-http-server-session",
    "tokio/net",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "tools_kit_mcp_stdio_server"
path = "tests/tools_kit_mcp_stdio_server.rs"
test = false
harness = false
required-features = ["mcp-server"]

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "tokio",
]
optional = true
default-features = false

[dependencies.futures-core]
version = "=0.3.32"
optional = true
default-features = false

[dependencies.http]
version = "1.4"

[dependencies.jsonschema]
version = "0.46"
default-features = false

[dependencies.rmcp]
version = "1.5"
features = [
    "client",
    "elicitation",
    "transport-child-process",
    "transport-io",
    "transport-streamable-http-client-reqwest",
]
default-features = false

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_path_to_error]
version = "0.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "process",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.url]
version = "2.5"
features = ["serde"]

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

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