server-manager 5.0.11

server-manager is a rust library for managing server processes. It encapsulates service startup, shutdown, and background daemon mode. Users can specify the PID file, log file paths, and other configurations through custom settings, while also passing in their own asynchronous server function for execution. The library supports both synchronous and asynchronous operations. On Unix and Windows platforms, it enables background daemon processes.
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 = "2024"
name = "server-manager"
version = "5.0.11"
authors = ["root@ltpp.vip"]
build = false
exclude = [
    "target",
    "Cargo.lock",
    "sh",
    ".github",
    "**/*.pid",
    "**/*.log",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "server-manager is a rust library for managing server processes. It encapsulates service startup, shutdown, and background daemon mode. Users can specify the PID file, log file paths, and other configurations through custom settings, while also passing in their own asynchronous server function for execution. The library supports both synchronous and asynchronous operations. On Unix and Windows platforms, it enables background daemon processes."
readme = "README.md"
keywords = [
    "manager",
    "processes",
    "libc",
    "linux",
    "unix",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/crates-dev/server-manager.git"

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

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[profile.dev]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"