pid1 0.1.6

pid1 handling library for proper signal and zombie reaping of the PID1 process
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 = "2021"
name = "pid1"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pid1 handling library for proper signal and zombie reaping of the PID1 process"
homepage = "https://github.com/fpco/pid1-rs"
readme = "README.md"
keywords = [
    "init",
    "pid1",
    "process",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/fpco/pid1-rs"

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

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

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

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

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

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

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

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

[dependencies.nix]
version = "0.31.2"
features = [
    "process",
    "signal",
]

[dependencies.signal-hook]
version = "0.4.3"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.tokio]
version = "1.46.1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]