[package]
edition = "2024"
rust-version = "1.85"
name = "atd-protocol"
version = "1.1.0"
authors = ["ATD Protocol Contributors"]
build = false
exclude = ["tests/fixtures/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol types, wire codec, and sanitization rules for the ATD (Agent Tool Dispatch) reference implementation."
readme = "README.md"
keywords = [
"atd",
"agent",
"tool-dispatch",
"protocol",
"mcp",
]
categories = [
"api-bindings",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/downsea/atd"
resolver = "2"
[features]
default = []
schema = [
"dep:schemars",
"dep:jsonschema",
]
[lib]
name = "atd_protocol"
path = "src/lib.rs"
[[bin]]
name = "gen-schema"
path = "src/bin/gen-schema.rs"
required-features = ["schema"]
[[test]]
name = "error_def_roundtrip"
path = "tests/error_def_roundtrip.rs"
[[test]]
name = "hello_ucan_tokens"
path = "tests/hello_ucan_tokens.rs"
[[test]]
name = "schema_metaschema"
path = "tests/schema_metaschema.rs"
[dependencies.jsonschema]
version = "0.18"
features = ["draft202012"]
optional = true
default-features = false
[dependencies.schemars]
version = "0.8"
features = ["preserve_order"]
optional = true
[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",
]