[package]
edition = "2021"
rust-version = "1.75"
name = "ahp"
version = "0.5.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent Host Protocol SDK — transport-agnostic client, reducers, and JSON-RPC plumbing."
homepage = "https://microsoft.github.io/agent-host-protocol/"
documentation = "https://docs.rs/ahp"
readme = "README.md"
keywords = [
"ahp",
"agent",
"protocol",
"json-rpc",
"tokio",
]
categories = [
"api-bindings",
"asynchronous",
"network-programming",
]
license = "MIT"
repository = "https://github.com/microsoft/agent-host-protocol"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "ahp"
path = "src/lib.rs"
[[example]]
name = "connect_ws"
path = "examples/connect_ws.rs"
[[example]]
name = "reducers_demo"
path = "examples/reducers_demo.rs"
[[test]]
name = "client_roundtrip"
path = "tests/client_roundtrip.rs"
[[test]]
name = "file_client_id_store"
path = "tests/file_client_id_store.rs"
[[test]]
name = "hosts"
path = "tests/hosts.rs"
[[test]]
name = "multi_host_state_mirror"
path = "tests/multi_host_state_mirror.rs"
[dependencies.ahp-types]
version = "0.5.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"sync",
"rt",
"macros",
"time",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"sync",
"rt",
"macros",
"time",
"full",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"