hash-attestation 0.1.1

Sign and verify Kinetic Gain Protocol Suite documents using ed25519 over canonical JSON hashes. The missing 'this AEO actually came from the vendor' layer. Optional audit-stream-py integration via the `audit-stream` feature.
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 = "2021"
rust-version = "1.88"
name = "hash-attestation"
version = "0.1.1"
authors = ["Miz Causevic <miz@kineticgain.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sign and verify Kinetic Gain Protocol Suite documents using ed25519 over canonical JSON hashes. The missing 'this AEO actually came from the vendor' layer. Optional audit-stream-py integration via the `audit-stream` feature."
homepage = "https://kineticgain.com/"
documentation = "https://docs.rs/hash-attestation"
readme = "README.md"
keywords = [
    "attestation",
    "ed25519",
    "kinetic-gain",
    "canonical-json",
    "signature",
]
categories = [
    "cryptography",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/mizcausevic-dev/hash-attestation-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
audit-stream = [
    "dep:reqwest",
    "dep:tokio",
]
default = []

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

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

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

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

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

[[bench]]
name = "sign_verify"
path = "benches/sign_verify.rs"
harness = false

[dependencies.base64]
version = "0.22"

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

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

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.38"
features = [
    "rt",
    "macros",
    "time",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"

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

[dev-dependencies.tokio]
version = "1.38"
features = [
    "rt",
    "macros",
    "time",
]

[dev-dependencies.wiremock]
version = "0.6"