# 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.85"
name = "atd-sdk"
version = "1.1.0"
authors = ["ATD Protocol Contributors"]
build = false
exclude = [
    "tests/fixtures/*",
    "benches/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the ATD (Agent Tool Dispatch) protocol — connect to any ATD-speaking server over Unix sockets."
readme = "README.md"
keywords = [
    "atd",
    "agent",
    "sdk",
    "client",
    "mcp",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/downsea/atd"
resolver = "2"

[features]
adapters = [
    "openai",
    "anthropic",
    "langchain",
]
anthropic = []
default = []
langchain = []
openai = []

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

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

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

[dependencies.atd-protocol]
version = "1.1.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

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

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