hashx 0.8.0

Hash function family designed for ASIC-resistant client puzzles
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.89"
name = "hashx"
version = "0.8.0"
authors = [
    "The Tor Project, Inc.",
    "Micah Elizabeth Scott <beth@torproject.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hash function family designed for ASIC-resistant client puzzles"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = ["cryptography"]
categories = ["cryptography"]
license = "LGPL-3.0-only"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

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

[features]
compiler = [
    "dep:dynasmrt",
    "dep:hex",
]
default = ["compiler"]
full = ["compiler"]

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

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

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

[dependencies.arrayvec]
version = "0.7.3"

[dependencies.blake2]
version = "0.10.6"

[dependencies.dynasmrt]
version = "5.0.0"
optional = true

[dependencies.fixed-capacity-vec]
version = "1.0"

[dependencies.hex]
version = "0.4.3"
optional = true

[dependencies.rand_core]
version = "0.10.1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.hex-literal]
version = "1.0.0"