# 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.94"
name = "anyclaw-sdk-tool"
version = "0.2.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool SDK for anyclaw — build MCP-compatible tool servers"
homepage = "https://github.com/donbader/anyclaw"
readme = "README.md"
keywords = [
    "agent",
    "mcp",
    "acp",
    "sdk",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/donbader/anyclaw"
resolver = "2"

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

[dependencies.anyclaw-sdk-types]
version = "0.5.1"

[dependencies.rmcp]
version = "1.4"
features = [
    "server",
    "transport-io",
]

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.50"
features = [
    "io-util",
    "macros",
    "rt-multi-thread",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.rstest]
version = "0.26"

[lints.clippy]
cloned_instead_of_copied = "warn"
disallowed_types = "warn"
expect_used = "allow"
flat_map_option = "warn"
implicit_clone = "warn"
manual_let_else = "warn"
needless_pass_by_value = "warn"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
unwrap_used = "warn"

[lints.rust]
dead_code = "warn"
unused_imports = "warn"
unused_variables = "warn"
