a2a-protocol-client 0.2.0

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.2.0"
authors = ["Tom F."]
build = false
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]
signing = ["a2a-protocol-types/signing"]
tls-rustls = [
    "dep:hyper-rustls",
    "dep:rustls",
    "dep:rustls-pki-types",
    "dep:webpki-roots",
]
tracing = ["dep:tracing"]

[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 = "sse_edge_case_tests"
path = "tests/sse_edge_case_tests.rs"

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

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

[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.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.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.criterion]
version = "0.5"
features = ["html_reports"]

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