reload_self 0.1.21

Cross-platform process hot reload library / 跨平台进程热重载库
Documentation
[package]
name = "reload_self"
version = "0.1.21"
edition = "2024"
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
homepage = "https://github.com/js0-site/rust/tree/dev/reload_self"
description = "Cross-platform process hot reload library / 跨平台进程热重载库"
keywords = ["reload", "signal", "process", "hotswap", "restart"]

[features]
default = []

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
log = "0.4.29"
tokio = { version = "1.48.0", features = ["rt"] }
tokio-util = "0.7.17"
xerr = "0.1.16"

[target.'cfg(target_os = "linux")'.dependencies]
sd-notify = "0.4.5"

[target.'cfg(unix)'.dependencies]
nix = { version = "0.30.1", features = ["process"] }
tokio = { version = "1.48.0", features = ["signal"] }

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = [
  "consoleapi",
  "processenv",
  "wincon",
] }