# 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 = "memfd-secret"
version = "1.0.1"
authors = ["Zoravar Singh Kalkat <zorro@zoravar.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Rust wrapper for the `memfd_secret` syscall that allows programs to store
sensitive data.
"""
readme = "README.md"
keywords = [
    "memfd_secret",
    "secret",
    "syscall",
]
categories = [
    "os::linux-apis",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZorroTheRelentless/memfd_secret"

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

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

[dependencies.libc]
version = "0.2.184"

[dependencies.memmap2]
version = "0.9.10"

[dev-dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dev-dependencies.errno]
version = "0.3.14"

[dev-dependencies.hegeltest]
version = "0.5.0"

[dev-dependencies.zeroize]
version = "1.8.2"
features = ["zeroize_derive"]
