mtcs 0.3.0

Offline verification of Merkle Tree Certificates (draft-ietf-plants-merkle-tree-certs)
Documentation
# 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.88"
name = "mtcs"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Offline verification of Merkle Tree Certificates (draft-ietf-plants-merkle-tree-certs)"
homepage = "https://github.com/canokeys/mtcs"
documentation = "https://docs.rs/mtcs"
readme = "README.md"
keywords = [
    "mtc",
    "merkle-tree",
    "certificates",
    "transparency",
    "post-quantum",
]
categories = [
    "cryptography",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/canokeys/mtcs"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["verify"]
verify = [
    "dep:p256",
    "dep:p384",
    "dep:ed25519-dalek",
    "dep:ml-dsa",
    "dep:signature",
]

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

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

[[example]]
name = "verify"
path = "examples/verify.rs"
required-features = ["verify"]

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

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

[[test]]
name = "verification"
path = "tests/verification.rs"
required-features = ["verify"]

[dependencies.ed25519-dalek]
version = "3.0.0"
features = ["alloc"]
optional = true
default-features = false

[dependencies.ml-dsa]
version = "0.1.1"
features = ["alloc"]
optional = true
default-features = false

[dependencies.p256]
version = "0.14.0"
features = [
    "ecdsa",
    "alloc",
]
optional = true
default-features = false

[dependencies.p384]
version = "0.14.0"
features = [
    "ecdsa",
    "alloc",
]
optional = true
default-features = false

[dependencies.sha2]
version = "0.11.1"
default-features = false

[dependencies.signature]
version = "3"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.21"

[dev-dependencies.base64]
version = "0.23.1"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.154"