# 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-tdk"
version = "0.7.3"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Affinidi Trust Development Kit. A Rust library for building secure, privacy-preserving, and interoperable applications."
homepage = "https://affinidi.com/"
readme = "README.md"
keywords = [
    "ssi",
    "affinidi",
]
license = "Apache-2.0"
repository = "https://github.com/affinidi/affinidi-tdk-rs"

[features]
data-integrity = [
    "dep:affinidi-data-integrity",
    "dep:serde",
]
default = [
    "messaging",
    "meeting-place",
    "did-peer",
    "data-integrity",
]
did-peer = []
meeting-place = ["dep:affinidi-meeting-place"]
messaging = ["dep:affinidi-messaging-sdk"]

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

[[example]]
name = "did_auth"
path = "examples/did_auth.rs"

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

[dependencies.affinidi-data-integrity]
version = "0.6"
optional = true

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

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

[dependencies.affinidi-did-resolver-cache-sdk]
version = "0.8"

[dependencies.affinidi-meeting-place]
version = "0.4"
optional = true

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

[dependencies.affinidi-messaging-sdk]
version = "0.18"
optional = true

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

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

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

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

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]

[lints.clippy]
uninlined_format_args = "warn"
