[package]
edition = "2021"
rust-version = "1.85"
name = "agent-protocols"
version = "0.11.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Agent Identity, Profile, Delegation, Discourse, Knowledge, and Mail 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"
[[example]]
name = "mail_interop"
path = "examples/mail_interop.rs"
[[test]]
name = "delegation_conformance"
path = "tests/delegation_conformance.rs"
[[test]]
name = "http_client"
path = "tests/http_client.rs"
[[test]]
name = "identity_vectors"
path = "tests/identity_vectors.rs"
[[test]]
name = "knowledge_http"
path = "tests/knowledge_http.rs"
[[test]]
name = "knowledge_vectors"
path = "tests/knowledge_vectors.rs"
[[test]]
name = "mail_http"
path = "tests/mail_http.rs"
[[test]]
name = "mail_vectors"
path = "tests/mail_vectors.rs"
[[test]]
name = "profile_vectors"
path = "tests/profile_vectors.rs"
[[test]]
name = "typed_round_trip"
path = "tests/typed_round_trip.rs"
[dependencies.base64]
version = "0.23"
[dependencies.ed25519-dalek]
version = "3.0"
[dependencies.getrandom]
version = "0.4"
[dependencies.hpke]
version = "0.14"
features = [
"alloc",
"getrandom",
"x25519",
"chacha",
]
default-features = false
[dependencies.jsonschema]
version = "0.58"
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.sha3]
version = "0.12"
[dependencies.thiserror]
version = "2"
[dependencies.url]
version = "2"
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.rustls]
version = "0.23"
features = [
"std",
"aws_lc_rs",
"tls12",
]
default-features = false
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"io-util",
"time",
]
default-features = false