# 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.85"
name = "aerocred-sdjwt"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SD-JWT VC issuance, selective-disclosure presentation, and verification with ES256 holder-key binding"
readme = "README.md"
keywords = [
    "sd-jwt",
    "vc",
    "disclosure",
    "es256",
    "jose",
]
categories = [
    "cryptography",
    "authentication",
]
license = "Apache-2.0"
repository = "https://github.com/luofang34/aerocred"

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

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
    "std",
]
default-features = false

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
    "pem",
]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[lints.clippy]
await_holding_lock = "deny"
dbg_macro = "deny"
expect_used = "deny"
let_underscore_future = "deny"
let_underscore_must_use = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
too_many_lines = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
