# 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.94.0"
name = "affinidi-secrets-resolver"
version = "0.5.4"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common utilities for Affinidi Trust Development Kit."
homepage = "https://affinidi.com/"
readme = "README.md"
keywords = [
    "ssi",
    "affinidi",
]
license = "Apache-2.0"
repository = "https://github.com/affinidi/affinidi-tdk-rs"

[features]
default = [
    "p256",
    "k256",
    "p384",
    "ed25519",
]
ed25519 = ["affinidi-crypto/ed25519"]
k256 = ["affinidi-crypto/k256"]
p256 = ["affinidi-crypto/p256"]
p384 = ["affinidi-crypto/p384"]

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

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.base58]
version = "0.2"

[dependencies.base64]
version = "0.22"

[dependencies.multibase]
version = "0.9"

[dependencies.rand]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.unsigned-varint]
version = "0.8"

[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]

[dependencies.zeroize]
version = "1"

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

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
