# 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.75"
name = "tdln-proof"
version = "0.1.0"
build = false
exclude = [
    ".github/**",
    "deny.toml",
    "SECURITY.md",
    "CODE_OF_CONDUCT.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TDLN — proof bundle (deterministic translation proof + optional DV25 signatures)."
homepage = "https://logline.foundation"
documentation = "https://docs.rs/tdln-proof"
readme = "README.md"
keywords = [
    "tdln",
    "proof",
    "deterministic",
    "blake3",
    "ed25519",
]
categories = [
    "cryptography",
    "encoding",
]
license = "MIT"
repository = "https://github.com/LogLine-Foundation/logline-workspace"

[package.metadata.docs.rs]
features = [
    "std",
    "ed25519",
]
no-default-features = false
all-features = false

[features]
alloc = []
default = [
    "std",
    "ed25519",
]
dv25 = [
    "ed25519",
    "dep:logline-core",
]
ed25519 = ["dep:ed25519-dalek"]
std = []

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

[dependencies.blake3]
version = "1.5"

[dependencies.ed25519-dalek]
version = "2.1"
features = ["pkcs8"]
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.logline-core]
version = "0.1.1"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tdln-ast]
version = "0.1.0"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.rand]
version = "0.8"
