[package]
edition = "2021"
name = "ahsah"
version = "2.1.0"
authors = ["Mimanshu Maheshwari maheshwarimimanshu@gmail.com"]
build = false
exclude = [
"/notes/**",
"/docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Incremental hashing contexts for MD5 and SHA-2 with reader helpers and optional SIMD decode paths"
homepage = "https://github.com/mimanshu-maheshwari/ahsah"
readme = "README.md"
keywords = [
"hash",
"sha2",
"md5",
"sha256",
"sha512",
]
categories = [
"algorithms",
"cryptography",
"cryptography::cryptocurrencies",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mimanshu-maheshwari/ahsah"
[features]
args = ["dep:clap"]
simd = []
[lib]
name = "ahsah"
path = "src/lib.rs"
[[example]]
name = "file-hasher"
path = "examples/file-hasher.rs"
required-features = ["args"]
[[example]]
name = "reader-hasher"
path = "examples/reader-hasher.rs"
required-features = ["args"]
[[example]]
name = "stdin-hasher"
path = "examples/stdin-hasher.rs"
[[example]]
name = "string-hasher"
path = "examples/string-hasher.rs"
[[test]]
name = "compatibility_test"
path = "tests/compatibility_test.rs"
[[test]]
name = "md5_test"
path = "tests/md5_test.rs"
[[test]]
name = "sha224_test"
path = "tests/sha224_test.rs"
[[test]]
name = "sha256_test"
path = "tests/sha256_test.rs"
[[test]]
name = "sha384_test"
path = "tests/sha384_test.rs"
[[test]]
name = "sha512_test"
path = "tests/sha512_test.rs"
[[test]]
name = "streaming_test"
path = "tests/streaming_test.rs"
[[bench]]
name = "digest_benchmarks"
path = "benches/digest_benchmarks.rs"
harness = false
[dependencies.clap]
version = "4.5.4"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.8"