# 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 = "2024"
rust-version = "1.95.0"
name = "affinidi-messaging-sdk"
version = "0.18.21"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Affinidi Messaging SDK"
homepage = "https://affinidi.com/"
readme = "README.md"
keywords = [
    "ssi",
    "affinidi",
]
license = "Apache-2.0"
repository = "https://github.com/affinidi/affinidi-tdk-rs"

[features]
default = []
tsp = ["dep:affinidi-tsp"]

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

[dependencies.affinidi-crypto]
version = "0.2"
features = ["jose"]

[dependencies.affinidi-did-authentication]
version = "0.3"

[dependencies.affinidi-did-common]
version = "0.3"
features = ["key-agreement"]

[dependencies.affinidi-encoding]
version = "0.1"

[dependencies.affinidi-messaging-didcomm]
version = "0.15"

[dependencies.affinidi-messaging-mediator-common]
version = "0.15"
default-features = false

[dependencies.affinidi-secrets-resolver]
version = "0.5"

[dependencies.affinidi-task-utils]
version = "0.1"

[dependencies.affinidi-tdk-common]
version = "0.6"

[dependencies.affinidi-tsp]
version = "0.1"
optional = true

[dependencies.ahash]
version = "0.8"
features = ["serde"]

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.rand]
version = "0.10"

[dependencies.regex]
version = "1"

[dependencies.rustls]
version = "0.23"
features = [
    "aws_lc_rs",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha256]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
    "time",
]

[dependencies.tokio-tungstenite]
version = "0.29"
features = ["rustls-tls-native-roots"]

[dependencies.tracing]
version = "0.1"
features = ["valuable"]

[dependencies.trust-tasks-rs]
version = "0.2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "fast-rng",
]

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.console]
version = "0.16"

[dev-dependencies.dialoguer]
version = "0.12"

[dev-dependencies.rcgen]
version = "0.14"
features = [
    "aws_lc_rs",
    "pem",
]
default-features = false

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

[dev-dependencies.ring]
version = "0.17"
features = ["std"]

[dev-dependencies.time]
version = "0.3"
