[package]
edition = "2021"
rust-version = "1.85"
name = "agent-protocols"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Agent Identity, Agent Profile, Agent Delegation, and Agent Discourse protocols"
readme = "README.md"
keywords = [
"agent",
"protocol",
"ed25519",
"sdk",
]
categories = [
"authentication",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/ldclabs/agent-protocols"
[features]
default = []
http-client = ["dep:reqwest"]
local-connector = ["http-client"]
[lib]
name = "agent_protocols"
path = "src/lib.rs"
[[test]]
name = "delegation_conformance"
path = "tests/delegation_conformance.rs"
[[test]]
name = "http_client"
path = "tests/http_client.rs"
[dependencies.base64]
version = "0.23"
[dependencies.ed25519-dalek]
version = "3.0"
[dependencies.getrandom]
version = "0.4"
[dependencies.jsonschema]
version = "0.49"
default-features = false
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
"gzip",
"http2",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_jcs]
version = "0.2"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.sha3]
version = "0.12"
[dependencies.thiserror]
version = "2"
[dependencies.url]
version = "2"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"io-util",
"time",
]
default-features = false