# 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-crypto"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Content-hashing, signing, verification, and key fingerprinting for the Agent Context Distribution Protocol (ACDP)"
homepage = "https://github.com/agentcontextdistributionprotocol/acdp-rs"
documentation = "https://docs.rs/acdp-crypto"
readme = "README.md"
keywords = [
    "acdp",
    "ed25519",
    "ecdsa",
    "sha256",
    "cryptography",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agentcontextdistributionprotocol/acdp-rs"

[features]
client = ["acdp-did/client"]

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.bs58]
version = "0.5"

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

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

[dependencies.hex]
version = "0.4"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "std",
]
default-features = false

[dependencies.rand_core]
version = "0.6"
features = ["std"]

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

[dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "float_roundtrip",
]

[dependencies.sha2]
version = "0.10"

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

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
