2025-04-14 19:17:53 +08:00

36 lines
773 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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"