chore: make syslog-tracing optional (#2050)

This commit is contained in:
Aaron Chen
2025-11-23 23:58:42 +08:00
committed by GitHub
parent 211dccb5fa
commit 4a3db21d58
2 changed files with 4 additions and 5 deletions

View File

@@ -126,6 +126,7 @@ dns-over-h3 = ["shadowsocks-service/dns-over-h3"]
# Enable logging output
logging = [
"log4rs",
"syslog-tracing",
"tracing",
"tracing-subscriber",
"time",
@@ -249,7 +250,7 @@ windows-service = { version = "0.8", optional = true }
[target.'cfg(unix)'.dependencies]
xdg = "3.0"
syslog-tracing = "0.3"
syslog-tracing = { version = "0.3", optional = true }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
reqwest = { version = "0.12", features = [