[package]
edition = "2024"
name = "reload_self"
version = "0.1.27"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform process hot reload library / 跨平台进程热重载库"
homepage = "https://github.com/js0-site/rust/tree/dev/reload_self"
readme = "README.md"
keywords = [
"reload",
"signal",
"process",
"hotswap",
"restart",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
[lib]
name = "reload_self"
path = "src/lib.rs"
[dependencies.log]
version = "0.4.29"
[dependencies.tokio]
version = "1.48.0"
features = [
"rt",
"time",
]
[dependencies.tokio-util]
version = "0.7.17"
[target.'cfg(target_os = "linux")'.dependencies.sd-notify]
version = "0.4.5"
[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
features = ["process"]
[target."cfg(unix)".dependencies.tokio]
version = "1.48.0"
features = ["signal"]
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
"consoleapi",
"processenv",
"wincon",
]