[package]
edition = "2024"
rust-version = "1.85"
name = "nahui"
version = "0.2.0"
build = false
exclude = [
"fuzz/**",
"benches/**",
"examples/**",
".github/**",
".claude/**",
"target/**",
"test.pdf",
"webdriver.json",
"dhat-heap.json",
"fuzz-*.log",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authenticated encryption (ChaCha20-Poly1305) and BLAKE3 content hashing for document attestation."
documentation = "https://docs.rs/nahui"
readme = "README.md"
keywords = [
"crypto",
"chacha20",
"blake3",
"aead",
"encryption",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/illuminodes/nahui"
[features]
dhat-heap = []
[lib]
name = "nahui"
path = "src/lib.rs"
[[test]]
name = "scrub"
path = "tests/scrub.rs"
[dependencies.blake3]
version = "1"
[dependencies.chacha20poly1305]
version = "0.10"
features = ["stream"]
[dependencies.getrandom]
version = "0.2"
[dependencies.thiserror]
version = "2"
[dependencies.zeroize]
version = "1"
features = ["derive"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.dhat]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.pprof]
version = "0.13"
features = [
"flamegraph",
"criterion",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[lints.clippy]
nursery = "warn"
pedantic = "warn"
perf = "warn"