acdp 0.2.0

Rust client library for the Agent Context Distribution Protocol (ACDP v0.1.0)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.86"
name = "acdp"
version = "0.2.0"
build = false
exclude = [
    "/.github",
    "/target",
    "/examples",
    "/tests",
    "/plans",
    "/.gitignore",
    "/deny.toml",
    "/rustfmt.toml",
    "/CONTRIBUTING.md",
    "/SECURITY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for the Agent Context Distribution Protocol (ACDP v0.1.0)"
homepage = "https://github.com/agentcontextdistributionprotocol/acdp-rs"
documentation = "https://docs.rs/acdp"
readme = "README.md"
keywords = [
    "acdp",
    "agent",
    "context",
    "did",
    "verifiable",
]
categories = [
    "web-programming",
    "cryptography",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agentcontextdistributionprotocol/acdp-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
cli = [
    "client",
    "tokio/macros",
    "tokio/rt-multi-thread",
]
client = [
    "dep:reqwest",
    "dep:lru",
    "dep:tokio",
]
default = ["client"]
server = []
tracing = ["dep:tracing"]

[lib]
name = "acdp"
path = "src/lib.rs"

[[bin]]
name = "acdp"
path = "src/bin/acdp.rs"
required-features = ["cli"]

[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.hex]
version = "0.4"

[dependencies.lru]
version = "0.16"
optional = true

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "std",
]
default-features = false

[dependencies.rand_core]
version = "0.6"
features = ["std"]

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "float_roundtrip",
]

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["time"]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
optional = true
default-features = false

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.zeroize]
version = "1"
features = ["derive"]

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.axum]
version = "0.7"
features = ["json"]
default-features = false

[dev-dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"
features = [
    "pem",
    "ring",
]
default-features = false

[dev-dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"