[package]
edition = "2021"
rust-version = "1.93"
name = "a2a-protocol-types"
version = "0.3.1"
authors = ["Tom F."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A2A protocol v1.0 — pure data types, serde only, no I/O"
homepage = "https://github.com/tomtom215/a2a-rust"
documentation = "https://docs.rs/a2a-protocol-types"
readme = "README.md"
keywords = [
"a2a",
"agent",
"protocol",
"types",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/tomtom215/a2a-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
signing = [
"dep:base64",
"dep:ring",
]
[lib]
name = "a2a_protocol_types"
path = "src/lib.rs"
[[test]]
name = "corpus_json"
path = "tests/corpus_json.rs"
[[test]]
name = "coverage_gap_tests"
path = "tests/coverage_gap_tests.rs"
[[test]]
name = "proptest_types"
path = "tests/proptest_types.rs"
[[test]]
name = "serde_edge_cases"
path = "tests/serde_edge_cases.rs"
[[test]]
name = "signing_tests"
path = "tests/signing_tests.rs"
[[test]]
name = "state_transition_tests"
path = "tests/state_transition_tests.rs"
[[test]]
name = "tck_wire_format"
path = "tests/tck_wire_format.rs"
[[bench]]
name = "json_serde"
path = "benches/json_serde.rs"
harness = false
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.ring]
version = "0.17"
optional = true
[dependencies.serde]
version = ">=1.0.200, <2"
features = ["derive"]
[dependencies.serde_json]
version = ">=1.0.115, <2"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.ring]
version = "0.17"