libvctrl_sha512 0.1.0

Zero-dependency SHA512, HMAC-SHA512, HKDF-SHA512, and optional SHA384 (fork of hmac-sha512 by Frank Denis)
Documentation
[package]
name = "libvctrl_sha512"
version = "0.1.0"
edition = "2024"
description = "Zero-dependency SHA512, HMAC-SHA512, HKDF-SHA512, and optional SHA384 (fork of hmac-sha512 by Frank Denis)"
license = "ISC"
license-file = "LICENSE"
authors = ["mroczect"]
repository = "https://github.com/mroczect/libvctrl"
readme = "README.md"
keywords = ["cryptography", "sha512", "hmac", "hkdf", "no-std"]
categories = ["cryptography", "algorithms", "no-std"]

[features]
default = ["sha384"]
sha384 = []    
opt_size = []  

[dependencies]

[dev-dependencies]
criterion = { version = "0.8", default-features = false, features = ["cargo_bench_support"] }

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

[[bench]]
name = "sha384_bench"
harness = false
path = "benches/sha384_bench.rs"
required-features = ["sha384"]

[profile.release]
lto = true
panic = "abort"
opt-level = 3

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