[package]
edition = "2021"
name = "self-agent-sdk"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Self Agent ID — on-chain AI agent identity with proof-of-human"
homepage = "https://github.com/selfxyz/self-agent-id"
documentation = "https://docs.self.xyz/agent-id/sdk-integration"
readme = "README.md"
keywords = [
"self",
"agent",
"identity",
"proof-of-human",
"blockchain",
]
categories = [
"authentication",
"cryptography",
"web-programming",
]
license = "BUSL-1.1"
repository = "https://github.com/selfxyz/self-agent-id/tree/main/rust-sdk"
[features]
axum = [
"dep:axum",
"dep:axum-core",
]
default = []
[lib]
name = "self_agent_sdk"
path = "src/lib.rs"
[[bin]]
name = "self-agent-cli"
path = "src/bin/self-agent-cli.rs"
[[test]]
name = "agent_card"
path = "tests/agent_card.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "registration"
path = "tests/registration.rs"
[[test]]
name = "signing"
path = "tests/signing.rs"
[[test]]
name = "verifier"
path = "tests/verifier.rs"
[dependencies.alloy]
version = "1"
features = [
"signers",
"signer-local",
"providers",
"contract",
"sol-types",
"rpc-client",
"transport-http",
]
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.axum-core]
version = "0.5"
optional = true
[dependencies.base64]
version = "0.22"
[dependencies.ed25519-dalek]
version = "2"
features = ["std"]
[dependencies.hex]
version = "0.4"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]