secbuf 0.1.2

Secure, high-performance buffer management with automatic memory zeroing and aggressive cleanup
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "secbuf"
version = "0.1.2"
authors = ["WYCLIFF <wycliffomondi01@gmail.com>"]
build = false
exclude = [
    ".github/*",
    "benches/*",
    "target/*",
    ".idea/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure, high-performance buffer management with automatic memory zeroing and aggressive cleanup"
homepage = "https://github.com/WYCLIFF001/secbuf"
documentation = "https://docs.rs/secbuf"
readme = "README.md"
keywords = [
    "buffer",
    "security",
    "pool",
    "zeroize",
    "network",
]
categories = [
    "data-structures",
    "memory-management",
    "network-programming",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WYCLIFF001/secbuf"

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

[features]
anyhow = ["dep:anyhow"]
default = []

[lib]
name = "secbuf"
path = "src/lib.rs"

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "network_simulation"
path = "examples/network_simulation.rs"

[[example]]
name = "stream_processing"
path = "examples/stream_processing.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[dependencies.anyhow]
version = "1.0.101"
optional = true

[dependencies.crossbeam]
version = "0.8.4"

[dependencies.zeroize]
version = "1.8.2"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8.2"

[profile.bench]
debug = 2
inherits = "release"

[profile.dev.package."*"]
opt-level = 2

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true