[package]
edition = "2024"
rust-version = "1.99"
name = "alpha2-os"
version = "0.5.3"
build = false
include = [
"/src/**",
"/README.md",
"/LICENSE.md",
"!/src/**/tests.rs",
"!/src/**/*_tests.rs",
"!/src/**/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small audited unsafe boundary for the operating-system calls the native host makes: advisory file locks, publishing a finished file without replacing another, termination requests, parent exit, child lifetime, and process memory."
readme = "README.md"
keywords = [
"process",
"file-lock",
"memory",
"signal",
]
categories = ["os"]
license = "MIT"
repository = "https://github.com/alpha2-sh/alpha2"
[lib]
name = "alpha2_os"
path = "src/lib.rs"
[target."cfg(unix)".dependencies.libc]
version = "0.2.189"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Wdk_System_SystemServices",
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Console",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_IO",
"Win32_System_JobObjects",
"Win32_System_ProcessStatus",
"Win32_System_Registry",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
]
[lints.clippy]
undocumented_unsafe_blocks = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"