zeph-a2a 0.22.2

A2A protocol client and server with agent discovery for Zeph
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 = "zeph-a2a"
version = "0.22.2"
authors = ["bug-ops"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A2A protocol client and server with agent discovery for Zeph"
homepage = "https://github.com/bug-ops/zeph"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "inference",
    "skills",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/zeph"

[features]
card-signing = [
    "dep:p256",
    "dep:serde_json_canonicalizer",
]
ibct = [
    "dep:hmac",
    "dep:sha2",
]
server = [
    "dep:axum",
    "dep:tower",
    "dep:tower-http",
    "zeph-common/http-middleware",
]

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

[dependencies.axum]
version = "0.8.9"
optional = true

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.45"
features = ["clock"]
default-features = false

[dependencies.eventsource-stream]
version = "0.2.3"

[dependencies.futures]
version = "0.3.32"

[dependencies.futures-core]
version = "0.3.32"

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.13"
optional = true

[dependencies.p256]
version = "0.14.0"
optional = true

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "rustls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_json_canonicalizer]
version = "0.3.2"
optional = true

[dependencies.sha2]
version = "0.11"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "net",
    "sync",
]

[dependencies.tokio-stream]
version = "0.1.18"

[dependencies.tower]
version = "0.5.3"
optional = true

[dependencies.tower-http]
version = "0.7.0"
features = [
    "limit",
    "trace",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.23.5"
features = [
    "v4",
    "serde",
]

[dependencies.zeph-common]
version = "0.22.2"

[dev-dependencies.axum]
version = "0.8.9"
features = ["macros"]

[dev-dependencies.http-body-util]
version = "0.1.4"

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

[dev-dependencies.tower]
version = "0.5.3"

[dev-dependencies.wiremock]
version = "0.6.5"

[lints.clippy]
all = "warn"
await_holding_lock = "warn"
pedantic = "warn"

[lints.rust]
linker_messages = "allow"
unsafe_code = "deny"