secure-types 0.2.62

Secure data types that protect sensitive data in memory via locking and zeroization.
Documentation
# 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"
name = "secure-types"
version = "0.2.62"
authors = ["Michalis Molfetas"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure data types that protect sensitive data in memory via locking and zeroization."
readme = "readme.md"
keywords = [
    "security",
    "secure",
    "memory",
    "zeroize",
    "no_std",
]
categories = [
    "memory-management",
    "no-std",
    "security",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/greekfetacheese/secure-types"

[features]
default = ["use_os"]
no_os = []
serde = ["dep:serde"]
use_os = ["memsec"]

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

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

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

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

[dependencies.memsec]
version = "0.7.0"
features = ["alloc_ext"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

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