qsu 0.4.0

Service subsystem wrapper.
Documentation
[[example]]
name = "hellosvc"
required-features = ["clap", "installer", "rt"]

[[example]]
name = "hellosvc-tokio"
required-features = ["clap", "installer", "rt", "tokio"]

[[example]]
name = "hellosvc-rocket"
required-features = ["clap", "installer", "rt", "rocket"]
[badges.maintenance]
status = "experimental"
[dependencies.apperr]
version = "0.2.0"

[dependencies.async-trait]
version = "0.1.77"

[dependencies.chrono]
version = "0.4.35"

[dependencies.clap]
features = ["derive", "env", "string", "wrap_help"]
optional = true
version = "4.5.2"

[dependencies.env_logger]
version = "0.11.3"

[dependencies.futures]
version = "0.3.30"

[dependencies.itertools]
optional = true
version = "0.12.1"

[dependencies.killswitch]
version = "0.4.2"

[dependencies.log]
version = "0.4.20"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.rocket]
optional = true
version = "0.5.0"

[dependencies.sidoc]
optional = true
version = "0.1.0"

[dependencies.time]
features = ["macros"]
version = "0.3.34"

[dependencies.tokio]
features = ["sync"]
version = "1.36.0"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
default-features = false
features = ["env-filter", "time", "fmt", "ansi"]
version = "0.3.18"
[dev-dependencies.clap]
features = ["derive", "env", "wrap_help"]
version = "4.5.2"

[dev-dependencies.tokio]
features = ["time"]
version = "1.36.0"

[features]
clap = ["dep:clap", "dep:itertools"]
default = ["rt"]
full = ["clap", "installer", "rocket", "rt", "systemd", "tokio"]
installer = ["dep:sidoc"]
rocket = ["rt", "dep:rocket", "tokio"]
rt = []
systemd = ["dep:sd-notify"]
tokio = ["rt", "tokio/macros", "tokio/rt-multi-thread", "tokio/signal"]
wait-for-debugger = ["dep:dbgtools-win"]

[package]
categories = ["asynchronous"]
description = "Service subsystem wrapper."
edition = "2021"
exclude = [".fossil-settings", ".efiles", ".fslckout", "www", "build_docs.sh", "Rocket.toml", "rustfmt.toml"]
keywords = ["service", "systemd", "winsvc"]
license = "0BSD"
name = "qsu"
readme = "README.md"
repository = "https://repos.qrnch.tech/pub/qsu"
rust-version = "1.56"
version = "0.4.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[target."cfg(target_os = \"linux\")".dependencies.sd-notify]
optional = true
version = "0.4.1"
[target."cfg(unix)".dependencies.libc]
version = "0.2.153"

[target."cfg(unix)".dependencies.nix]
features = ["pthread", "signal"]
version = "0.28.0"
[target."cfg(windows)".dependencies.dbgtools-win]
optional = true
version = "0.2.1"

[target."cfg(windows)".dependencies.eventlog]
version = "0.2.2"

[target."cfg(windows)".dependencies.registry]
version = "1.2.3"

[target."cfg(windows)".dependencies.scopeguard]
version = "1.2.0"

[target."cfg(windows)".dependencies.windows-service]
version = "0.6.0"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_System_Console"]
version = "0.52.0"

[target."cfg(windows)".dependencies.winreg]
version = "0.52.0"