salvor-tools 0.7.0

ToolHandler trait, derive macro, and MCP client integration for the Salvor agent runtime
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"
name = "salvor-tools"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ToolHandler trait, derive macro, and MCP client integration for the Salvor agent runtime"
readme = false
keywords = [
    "durable-execution",
    "event-sourcing",
    "agents",
    "workflow",
    "replay",
]
categories = [
    "asynchronous",
    "development-tools",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joseym/salvor"

[package.metadata.dist]
dist = false

[features]
default = ["mcp"]
mcp = [
    "dep:rmcp",
    "dep:tokio",
]

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

[[bin]]
name = "salvor-mcp-fixture"
path = "src/bin/salvor-mcp-fixture.rs"
required-features = ["mcp"]

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

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

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

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

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

[dependencies.rmcp]
version = "=2.2.0"
features = [
    "client",
    "transport-child-process",
    "transport-streamable-http-client-reqwest",
    "server",
    "transport-io",
    "transport-streamable-http-server",
    "macros",
    "schemars",
]
optional = true
default-features = false

[dependencies.salvor-core]
version = "0.7.0"

[dependencies.salvor-tools-macros]
version = "0.7.0"

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dev-dependencies.axum]
version = "0.8"

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