[package]
edition = "2021"
name = "daemonize-me"
version = "2.0.4"
authors = ["Matheus Xavier <mxavier@boxtheta.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library to ease the task of creating daemons on unix-like systems"
readme = "README.md"
keywords = [
"daemon",
"daemonize",
"daemonize-me",
"unix",
]
categories = ["os::unix-apis"]
license = "BSD-3-Clause/Apache-2.0"
repository = "https://github.com/xadaemon/daemonize-me"
[lib]
name = "daemonize_me"
path = "src/lib.rs"
[[example]]
name = "hooks"
path = "examples/hooks.rs"
[[example]]
name = "lingering"
path = "examples/lingering.rs"
[[example]]
name = "tokio"
path = "examples/tokio.rs"
[dependencies.libc]
version = "0.2.113"
[dependencies.nix]
version = "0.29.0"
features = [
"process",
"user",
"fs",
]
[dependencies.thiserror]
version = "2.0.12"
[dev-dependencies.tokio]
version = "1.45.0"
features = [
"rt",
"rt-multi-thread",
"time",
]