[package]
edition = "2021"
rust-version = "1.82"
name = "sd-notify"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight crate for systemd service state notifications"
readme = "README.md"
keywords = [
"systemd",
"sd_notify",
]
categories = ["os"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lnicola/sd-notify"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[features]
fdstore = ["dep:sendfd"]
[lib]
name = "sd_notify"
path = "src/lib.rs"
[[test]]
name = "listen_fds"
path = "tests/listen_fds.rs"
[[test]]
name = "notify"
path = "tests/notify.rs"
[[test]]
name = "watchdog_enabled"
path = "tests/watchdog_enabled.rs"
[dependencies.libc]
version = "0.2"
[dependencies.sendfd]
version = "0.4"
optional = true