a2a-protocol-client 0.3.1

A2A protocol v1.0 — HTTP client (hyper-backed)
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 = "2021"
rust-version = "1.93"
name = "a2a-protocol-client"
version = "0.3.1"
authors = ["Tom F."]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A2A protocol v1.0 — HTTP client (hyper-backed)"
homepage = "https://github.com/tomtom215/a2a-rust"
documentation = "https://docs.rs/a2a-protocol-client"
readme = "README.md"
keywords = [
    "a2a",
    "agent",
    "client",
    "http",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/tomtom215/a2a-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
grpc = [
    "dep:tonic",
    "dep:prost",
    "dep:tokio-stream",
    "dep:tonic-build",
]
signing = ["a2a-protocol-types/signing"]
tls-rustls = [
    "dep:hyper-rustls",
    "dep:rustls",
    "dep:rustls-pki-types",
    "dep:webpki-roots",
]
tracing = ["dep:tracing"]
websocket = [
    "dep:tokio-tungstenite",
    "dep:futures-util",
]

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

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

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

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

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

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

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

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

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

[[bench]]
name = "sse_parse"
path = "benches/sse_parse.rs"
harness = false

[dependencies.a2a-protocol-types]
version = "0.3.1"

[dependencies.futures-util]
version = ">=0.3.30, <0.4"
features = ["sink"]
optional = true
default-features = false

[dependencies.http-body-util]
version = ">=0.1, <0.2"

[dependencies.hyper]
version = ">=1.4, <2"
features = [
    "client",
    "server",
    "http1",
    "http2",
]

[dependencies.hyper-rustls]
version = ">=0.27, <0.28"
features = [
    "ring",
    "http1",
    "http2",
    "webpki-tokio",
]
optional = true
default-features = false

[dependencies.hyper-util]
version = ">=0.1.6, <0.2"
features = [
    "client",
    "client-legacy",
    "http1",
    "http2",
    "tokio",
]

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

[dependencies.rustls]
version = ">=0.23, <0.24"
features = [
    "std",
    "tls12",
    "ring",
]
optional = true
default-features = false

[dependencies.rustls-pki-types]
version = ">=1.7, <2"
optional = true

[dependencies.serde_json]
version = ">=1.0.115, <2"

[dependencies.tokio]
version = ">=1.38, <2"
features = [
    "rt",
    "net",
    "io-util",
    "sync",
    "time",
    "macros",
]

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dependencies.tokio-tungstenite]
version = ">=0.24, <0.25"
optional = true

[dependencies.tonic]
version = "0.12"
optional = true

[dependencies.tracing]
version = ">=0.1.40, <0.2"
optional = true

[dependencies.uuid]
version = ">=1.8, <2"
features = ["v4"]

[dependencies.webpki-roots]
version = ">=1.0, <2"
optional = true

[dev-dependencies.a2a-protocol-server]
version = "0.3.1"
features = ["websocket"]

[dev-dependencies.a2a-protocol-types]
version = "0.3.1"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.futures-util]
version = ">=0.3.30, <0.4"
features = ["sink"]
default-features = false

[dev-dependencies.http-body-util]
version = ">=0.1, <0.2"

[dev-dependencies.hyper]
version = ">=1.4, <2"
features = [
    "client",
    "server",
    "http1",
    "http2",
]

[dev-dependencies.hyper-util]
version = ">=0.1.6, <0.2"
features = [
    "client",
    "client-legacy",
    "http1",
    "http2",
    "tokio",
    "server",
    "server-auto",
]

[dev-dependencies.rcgen]
version = "0.13"

[dev-dependencies.rustls]
version = ">=0.23, <0.24"
features = [
    "std",
    "tls12",
    "ring",
]
default-features = false

[dev-dependencies.rustls-pki-types]
version = ">=1.7, <2"

[dev-dependencies.tokio]
version = ">=1.38, <2"
features = [
    "rt",
    "net",
    "io-util",
    "sync",
    "time",
    "macros",
    "macros",
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.tokio-rustls]
version = ">=0.26, <0.27"
features = ["ring"]
default-features = false

[build-dependencies.tonic-build]
version = "0.12"
optional = true