ra2a 0.9.3

A Rust implementation of the Agent2Agent (A2A) Protocol SDK
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 = "ra2a"
version = "0.9.3"
authors = ["QNTX"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of the Agent2Agent (A2A) Protocol SDK"
readme = "README.md"
keywords = [
    "a2a",
    "agent",
    "protocol",
    "ai",
    "rpc",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/qntx/ra2a"

[package.metadata.docs.rs]
features = [
    "server",
    "client",
    "telemetry",
    "sql",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
client = []
default = [
    "client",
    "server",
]
full = [
    "server",
    "grpc",
    "telemetry",
    "sql",
]
grpc = [
    "client",
    "tonic",
    "prost",
    "prost-types",
    "tonic-prost",
    "tonic-prost-build",
    "google-api-proto",
    "tokio-stream",
]
mysql = [
    "sqlx",
    "sqlx/mysql",
]
postgresql = [
    "sqlx",
    "sqlx/postgres",
]
server = ["axum"]
sql = [
    "postgresql",
    "mysql",
    "sqlite",
]
sqlite = [
    "sqlx",
    "sqlx/sqlite",
]
telemetry = [
    "opentelemetry",
    "tracing-opentelemetry",
]

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

[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["client"]

[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["server"]

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

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.futures]
version = "0.3.32"

[dependencies.google-api-proto]
version = "1.710.0"
features = ["google-api"]
optional = true
default-features = false

[dependencies.opentelemetry]
version = "0.31.0"
optional = true

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

[dependencies.prost-types]
version = "0.14.3"
optional = true

[dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "stream",
    "multipart",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "json",
]
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.50.0"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1.18"
features = ["sync"]
optional = true

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

[dependencies.tonic-prost]
version = "0.14.5"
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-opentelemetry]
version = "0.32.1"
optional = true

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

[dev-dependencies.mockito]
version = "1.7.2"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.tokio-test]
version = "0.4.5"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

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