[package] name = "system-service" edition.workspace = true version.workspace = true authors.workspace = true description.workspace = true [dependencies] anyhow.workspace = true serde.workspace = true serde_json.workspace = true tokio.workspace = true tracing.workspace = true tracing-subscriber.workspace = true # 特定于system-service的依赖 axum = "0.7.9" paw-common = { path = "../common" } # Windows平台依赖,主要用于注册服务,将日志输出到文件 [target.'cfg(windows)'.dependencies] windows-service = "0.7.0" tracing-appender = "0.2.3" [[bin]] name = "paw-system-service" path = "src/main.rs" [[bin]] name = "paw-install-service" path = "src/installer/install.rs" [[bin]] name = "paw-uninstall-service" path = "src/installer/uninstall.rs"