# 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-client"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Consumer client (RegistryClient, VerifiedContext, CrossRegistryResolver) for the Agent Context Distribution Protocol (ACDP)"
homepage = "https://github.com/agentcontextdistributionprotocol/acdp-rs"
documentation = "https://docs.rs/acdp-client"
readme = "README.md"
keywords = [
    "acdp",
    "client",
    "agent",
    "context",
    "consumer",
]
categories = [
    "web-programming::http-client",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agentcontextdistributionprotocol/acdp-rs"

[features]
test-transport = [
    "acdp-safe-http/test-transport",
    "acdp-did/test-transport",
]
tracing = [
    "dep:tracing",
    "acdp-did/tracing",
]

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

[dependencies.acdp-crypto]
version = "=0.6.0"
features = ["client"]

[dependencies.acdp-did]
version = "=0.6.0"
features = ["client"]

[dependencies.acdp-primitives]
version = "=0.6.0"
features = ["reqwest"]

[dependencies.acdp-safe-http]
version = "=0.6.0"
features = ["client"]

[dependencies.acdp-types]
version = "=0.6.0"

[dependencies.acdp-validation]
version = "=0.6.0"

[dependencies.acdp-verify]
version = "=0.6.0"
features = ["client"]

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hex]
version = "0.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
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.tokio]
version = "1"
features = ["time"]
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"]

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

[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"
