polyc-crypto 2026.8.3

Provenance signatures (commonware-cryptography ed25519) for polychrome tool calls.
# 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.97"
name = "polyc-crypto"
version = "2026.8.3"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provenance signatures (commonware-cryptography ed25519) for polychrome tool calls."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"

[package.metadata.polychrome]
layer = "component"
foundation = true
plane_role = "shared"

[features]
test-util = []

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.buffa]
version = "0.9.1"
features = [
    "std",
    "json",
]

[dependencies.commonware-codec]
version = "2026.7.0"

[dependencies.commonware-cryptography]
version = "2026.7.0"

[dependencies.hmac]
version = "0.13"

[dependencies.polyc-proto]
version = "2026.8.0"

[dependencies.rand]
version = "0.8"
features = ["getrandom"]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.zeroize]
version = "1"

[dev-dependencies.commonware-conformance]
version = "2026.7.0"

[dev-dependencies.polyc-conformance-vectors]
version = "2026.8.0"

[lints.clippy]
dbg_macro = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unwrap_used = "deny"

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

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

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

[lints.rustdoc]
all = "warn"