[package]
edition = "2021"
rust-version = "1.78"
name = "anp"
version = "0.8.3"
build = false
exclude = ["target/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Agent Network Protocol (ANP)"
homepage = "https://agent-network-protocol.com/"
documentation = "https://docs.rs/anp"
readme = "README.md"
keywords = [
"agent",
"anp",
"did",
"did-wba",
"authentication",
]
categories = [
"authentication",
"api-bindings",
"network-programming",
]
license = "MIT"
repository = "https://github.com/agent-network-protocol/AgentConnect"
[lib]
name = "anp"
path = "src/lib.rs"
[[example]]
name = "create_did_document"
path = "examples/create_did_document.rs"
[[example]]
name = "direct_e2ee_interop_cli"
path = "examples/direct_e2ee_interop_cli.rs"
[[example]]
name = "direct_e2ee_verify_fixture"
path = "examples/direct_e2ee_verify_fixture.rs"
[[example]]
name = "interop_cli"
path = "examples/interop_cli.rs"
[[example]]
name = "interop_server"
path = "examples/interop_server.rs"
[[example]]
name = "proof_example"
path = "examples/proof_example.rs"
[[example]]
name = "wns_example"
path = "examples/wns_example.rs"
[[test]]
name = "authentication_tests"
path = "tests/authentication_tests.rs"
[[test]]
name = "proof_tests"
path = "tests/proof_tests.rs"
[[test]]
name = "python_interop_tests"
path = "tests/python_interop_tests.rs"
[[test]]
name = "python_network_interop_tests"
path = "tests/python_network_interop_tests.rs"
[[test]]
name = "wns_tests"
path = "tests/wns_tests.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bs58]
version = "0.5"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.jsonwebtoken]
version = "9"
[dependencies.k256]
version = "0.13"
features = [
"ecdsa",
"arithmetic",
]
[dependencies.num-bigint]
version = "0.4"
[dependencies.p256]
version = "0.13"
features = [
"ecdsa",
"arithmetic",
]
[dependencies.percent-encoding]
version = "2.3"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.ring]
version = "0.17"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1"
[dependencies.tiny_http]
version = "0.12"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.url]
version = "2"
[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.wiremock]
version = "0.6"