[package]
edition = "2024"
rust-version = "1.94.1"
name = "lib-q-sha3"
version = "0.0.2"
authors = [
"Enkom Tech",
"Nexlab-One",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
lib-Q: SHA-3 (FIPS 202), SHAKE, cSHAKE (SP 800-185), TurboSHAKE; no_std-friendly. Raw Keccak digests: lib-q-keccak-digest\r
"""
documentation = "https://docs.rs/lib-q-sha3"
readme = "README.md"
keywords = [
"crypto",
"sha3",
"keccak",
"hash",
"digest",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/Enkom-Tech/libQ"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = ["digest/alloc"]
asm = ["lib-q-keccak/asm"]
default = [
"alloc",
"oid",
]
oid = ["digest/oid"]
zeroize = ["digest/zeroize"]
[lib]
name = "lib_q_sha3"
crate-type = ["rlib"]
path = "src/lib.rs"
bench = false
[[test]]
name = "basic_functionality"
path = "tests/basic_functionality.rs"
[[test]]
name = "constant_time"
path = "tests/constant_time.rs"
[[test]]
name = "coverage_api"
path = "tests/coverage_api.rs"
[[test]]
name = "cshake"
path = "tests/cshake.rs"
[[test]]
name = "cshake_blobby_kats"
path = "tests/cshake_blobby_kats.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "performance"
path = "tests/performance.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "turboshake"
path = "tests/turboshake.rs"
[[bench]]
name = "sha3_benchmarks"
path = "benches/sha3_benchmarks.rs"
harness = false
[dependencies.block-buffer]
version = "0.12.0"
[dependencies.digest]
version = "0.11.3"
[dependencies.lib-q-keccak]
version = "0.0.2"
default-features = false
[dev-dependencies.base16ct]
version = "1.0.0"
features = ["alloc"]
[dev-dependencies.blobby]
version = "0.4.0"
features = ["alloc"]
[dev-dependencies.digest]
version = "0.11.3"
features = ["dev"]
[dev-dependencies.hex-literal]
version = "1.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(hax)",
"cfg(eurydice)",
"cfg(doc_cfg)",
"cfg(tarpaulin)",
"cfg(aarch64)",
"cfg(x86_64)",
]