a2a-protocol-server 0.2.0

A2A protocol v1.0 — server framework (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-server"
version = "0.2.0"
authors = ["Tom F."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A2A protocol v1.0 — server framework (hyper-backed)"
homepage = "https://github.com/tomtom215/a2a-rust"
documentation = "https://docs.rs/a2a-protocol-server"
readme = "README.md"
keywords = [
    "a2a",
    "agent",
    "server",
    "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"]
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1"

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

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

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

[dependencies.serde]
version = ">=1.0.200, <2"
features = ["derive"]

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

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

[dependencies.tokio-util]
version = ">=0.7, <0.8"
features = ["rt"]

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

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

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

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

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

[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.serde_json]
version = ">=1.0.115, <2"

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