# 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.96"
name = "dpp-crypto"
version = "0.4.1"
authors = ["Odal Node <dev@odal-node.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ed25519 key management, JWS signing/verification, and did:web document builder"
homepage = "https://odal-node.io"
readme = "README.md"
keywords = [
    "dpp",
    "ed25519",
    "jws",
    "did-web",
    "credentials",
]
categories = [
    "cryptography",
    "authentication",
]
license = "Apache-2.0"
repository = "https://github.com/odal-node/dpp-core"
resolver = "2"

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

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

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

[dependencies.dpp-domain]
version = "0.4.1"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.flate2]
version = "1"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_jcs]
version = "0.1"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

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

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

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

[dev-dependencies.tracing-test]
version = "0.2"

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