insectbox 0.1.0

OpenSSH inspired in-memory key security.
Documentation
[package]
name = "insectbox"
version = "0.1.0"
edition = "2021"
description = "OpenSSH inspired in-memory key security."
repository = "https://github.com/lysolaka/insectbox"
license = "MIT"
keywords = ["cryptography", "memory-management"]

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

[features]
default = ["secbox"]
dev = ["secbox", "cryptbox"]
secbox = []
cryptbox = ["dep:ascon-aead", "dep:ascon-hash", "dep:rand_chacha", "dep:zeroize"]

[dependencies]
ascon-aead = { version = "=0.4.3", default-features = false, optional = true }
ascon-hash = { version = "=0.2.0", optional = true }
lazy_static = "1.5.0"
rand_chacha = { version = "=0.9.0", features = ["os_rng"], optional = true }
zeroize = { version = "=1.8.1", optional = true }

[target."cfg(unix)".dependencies]
libc = "=0.2.170"

[target."cfg(windows)".dependencies]
windows-sys = { version = "=0.59.0", default-features = false, features = [
    "Win32_System_SystemInformation",
    "Win32_System_Memory",
    "Win32_Foundation",
    "Win32_System_Diagnostics_Debug",
]}

[dev-dependencies]
criterion = "0.5.1"
heapless = "0.8.0"

[[bench]]
name = "secbox_cmp"
harness = false
required-features = ["secbox"]

[[bench]]
name = "cryptbox_cmp"
harness = false
required-features = ["cryptbox"]